Subject: Re: [boost] [smart_ptr][intrusive] boost::unique_ptr<>
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2014-05-30 00:22:43
On Thu, May 29, 2014 at 7:03 PM, Adam Wulkiewicz wrote:
> 2014-05-30 3:08 GMT+02:00 Glen Fernandes <glen.fernandes_at_[hidden]>:
>> 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
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk