Subject: Re: [boost] unique_ptr, was: Composing non copyable and movable classes
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2008-12-10 16:12:46


Peter Dimov wrote:
> Michael Marcin:
>
>> Speaking of unique_ptr is it possible to get a C++03 emulation of
>> unique_ptr into boost?
>>
>> I've been using
>> http://home.twcny.rr.com/hinnant/cpp_extensions/unique_ptr_03.html
>> for months and it seems to work fine.
>
> To get it into Boost, someone needs to contribute the tests and
> documentation and commit to maintaining it. :-)
>
> That said, I'm not fond of this property of the cited implementation:
>
> #
>
> This implementation will mistakenly move from const lvalues.
Howard has an updated version that doesn't do this. The new version is
really slick.

Sebastian