|
Boost : |
Subject: Re: [boost] [shared_ptr] Ticket 2126 status?
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2008-10-11 09:40:55
Peter Dimov wrote:
> Andrey Semashev:
>
>> Is the ticket 2126:
>>
>> http://svn.boost.org/trac/boost/ticket/2126
>>
>> actually fixed in trunk? The ticket is still open, but my code that uses
>> enable_shared_from_this and make_shared runs fine on trunk.
>
> Interesting. No, I don't believe that trunk is OK. The constructor
> support just masks the problem. Try for example the following test:
Right, this one fails, indeed. I guess, I've been lucky so far since I
didn't encounter any problems. Thanks for pointing this out.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk