
14 Jun
2006
14 Jun
'06
10:55 a.m.
"John Maddock"
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