From: David Abrahams (dave_at_[hidden])
Date: 2006-06-14 06:55:20


"John Maddock" <john_at_[hidden]> writes:

> Gottlob Frege wrote:
>>> if unknown_struct is an incomplete type (which is what I meant, and
>>> should have said), alignment_of doesn't compile.
>
> If the type is incomplete then you can't use aligned_storage anyway, since
> you don't know how much storage you'll need! Sorry but you've lost me now.

I think what the OP is looking for is called boost::shared_ptr ;-)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com