|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-19 11:23:18
From: "Maciej Sobczak" <maciej_at_[hidden]>
>
> The documentation for shared_ptr:
>
> http://www.boost.org/libs/smart_ptr/shared_ptr.htm#constructors
>
> says for constructor:
>
> template<typename Y> shared_ptr(std::auto_ptr<Y> & r);
>
> that:
>
> "Postconditions: use count for all copies is increased by one."
>
> Shouldn't it read:
>
> "Postconditions: use count is 1."
>
> instead?
Yes, you are right. Fixed. Thanks.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk