Subject: Re: [boost] [move][unique_ptr] c++14 unique_ptr comes to town
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2014-08-25 14:16:27
On Mon, Aug 25, 2014 at 3:36 AM, Ion GaztaÃ±aga wrote:
> Would you agree making boost::movelib::unique_ptr boost::unique_ptr? I can
> think about some gradual steps.
I like the idea of a boost::unique_ptr in Boost.SmartPtr, but my
initial desire was for it to start as a perfect implementation of the
std::unique_ptr specification in the standard, followed by
modifications that reconcile it with any interface changes proposed in
boost::shared_ptr. I also assumed compiler support for the necessary
C++11 language features to support that implementation: i.e. while I
see value in supporting C++03 via Boost.Move, I don't know if there is
such a desire for a boost::unique_ptr C++03 emulation.
It looks like Peter has already started on an implementation, and I
like the approach he took. If he has the time, and the inclination, I
would like to have him drive that to completion to as the
Boost.SmartPtr unique_ptr implementation. What would be nicer still,
is if Boost.Move could then leverage that implementation to provide a
C++03 emulation in boost::movelib or boost::moveable etc. but that
might be a taller order.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk