Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-04-28 04:54:15

>>> 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, 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.


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