From: David Abrahams (dave_at_[hidden])
Date: 2005-04-28 08:11:02
"John Maddock" <john_at_[hidden]> writes:
>>>> It appears that aligned storage itself is not a POD, so the ::type
>>>> is necessary.
>> I can't imagine what would necessitate making aligned_storage<T> not a
>> POD. Can somebody please explain?
> It has user defined constructors (to make it non-copyable), and private
> data. I don't know why it was done that way,
Overzealous obsession with safety, I bet.
> I'm just trying to make sure
> that the ::type member is TR1 conforming.
> BTW using aligned_storage directly like that (not going through the ::type
> member), is and always has been, untested and undocumented.
Oh. Well, that's fine, then. Thanks.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk