[llvm] r202609 - [C++11] Add support for OwningPtr<T> to be converted to and from
Duncan P. N. Exon Smith
dexonsmith at apple.com
Sun Mar 2 15:18:37 PST 2014
On 2014 Mar 2, at 10:55, Richard Smith <richard at metafoo.co.uk> wrote:
> Passing unique_ptr by value also makes that clear, and is the idiomatic way of passing ownership with unique_ptr.
Fair enough. Thanks for the correction.
> That's less efficient after compiler optimizations, in the case where the function isn't inlined for whatever reason.
Good point.
More information about the llvm-commits
mailing list