Boost logo

Boost :

Subject: Re: [boost] C++03 unique_ptr emulation
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2009-01-03 18:41:19


On Jan 3, 2009, at 4:45 PM, Sebastian Redl wrote:

> Howard Hinnant wrote:
>> On Jan 3, 2009, at 3:45 PM, Sebastian Redl wrote:
>>
>>>
>>> Anyway, I'll try to boostify your project and post back.
>>
>> That is very kind of you.
> I did something somewhat simpler. Attached is a patch against Boost
> trunk that makes unique_ptr a part of the smart_ptr library, as far as
> the header and the tests are concerned. (Those are some of the
> examples,
> not the tests you just uploaded.) The patch does not modify
> smart_ptr.hpp, though.
> The tests are now executed as part of the normal test suite, and they
> all pass. They are somewhat incomplete, though.

Thanks Sebastian. I'll continue to make incremental improvements to http://home.roadrunner.com/~hinnant/unique_ptr03.html
  , and hopefully the goal of simply exposing more C++ programmers to
a preview of std::unique_ptr will be realized.

-Howard


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk