Boost logo

Boost Users :

Subject: Re: [Boost-users] C++03 unique_ptr emulation
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2009-01-03 10:40:11


On Jan 2, 2009, at 8:31 PM, Mathias Gaunard wrote:

> Howard Hinnant wrote:
>> I've put up a new version of an C++03 emulated unique_ptr here:
>> http://home.roadrunner.com/~hinnant/unique_ptr03.html
>> This is a "boost-ized" emulation (uses boost tools and is in boost
>> namespace)
>
> Wouldn't it be useful to make use of the boost C++0x macros to
> actually use rvalue references when they are available?
> Not sure whether that would be really useful though.

Perhaps. My focus at the moment was to simply get an emulation
going. My hope is that std::unique_ptr will soon follow compiler
supported rvalue refs.

-Howard


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net