[LLVMdev] ErrorOr<> conflicts with unique_ptr<>

Shankar Easwaran shankare at codeaurora.org
Thu Nov 21 17:33:24 PST 2013


On 11/21/2013 6:33 PM, Nick Kledzik wrote:
> Is there some way to do partial specialization of 
> ErrorOr<std::unique_ptr<T>> to make -> see through both ErrorOr and 
> unique_ptr? My overall point is that unique_ptr<> is cool. ErrorOr<> 
> is cool. But when you combine the two, the cool transparency 
> disappears ;-( 
Agree.

Thanks

Shankar Easwaran



More information about the llvm-dev mailing list