Boost logo

Boost :

From: Daniel Frey (d.frey_at_[hidden])
Date: 2008-04-29 09:26:20

On Tue, 2008-04-29 at 09:02 -0400, Frank Mori Hess wrote:
> I've noticed it is possible to construct a half-empty shared_ptr that has an
> empty shared_count but a non-null pointer (brief example program attached).
> Perhaps the aliasing constructor, and similarly the shared_count constructor
> should do some argument checking?

I think this is already a known problem/feature, see n2588
<>, I don't know what it's good for, though.

Regards, Daniel

Boost list run by bdawes at, gregod at, cpdaniel at, john at