[PATCH] [C++11] Add overloads for externally used OwningPtr functions.
acharles at outlook.com
Wed Mar 5 00:35:16 PST 2014
That would work, I think. But given that I use MSVC and can't test that, is somewhat of a blocker. :)
There's also the issue that it would require changes to llvm/clang/lld/lldb all at the same time, since while we could require external users either have 'rvalue references for *this', the build bots will complain if it breaks.
So, all things considered, overloads are the best solution for the moment.
More information about the llvm-commits