30 May
2014
30 May
'14
4:22 a.m.
On Thu, May 29, 2014 at 7:03 PM, Adam Wulkiewicz wrote:
2014-05-30 3:08 GMT+02:00 Glen Fernandes
: Though both threads are about a C++03 emulation of unique_ptr, I wonder if it is worth providing a boost::unique_ptr for C++ implementations still in use that support enough of C++11 r-value references but ship with a broken, or non-conforming, std::unique_ptr implementation.
Actually I had both in mind. If r-val refs were supported it should be STD-conformant implementation, if not, the emulation e.g. using Boost.Move. Plus boost::make_unique() using r-val refs and variadic templates if they were supported or emulating them e.g. using Move and Preprocessor.
*Nod*. I can see the value in that. Glen