
10 Dec
2008
10 Dec
'08
9:12 p.m.
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