Boost logo

Boost Users :

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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net