Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-03-01 10:37:38

On Friday 01 March 2002 10:28 am, you wrote:
> Nice. Shouldn't we also be checking that the alignment of T is <= align,
> just to be sure?
> -Dave

Brian Parker's version has this note in it:
  (Note that ISO C++ guarantees that a type cannot have an alignment > than
its size as it needs to be able to be packed into arrays without padding
between elements).

Which would say that the additional check isn't needed. But it doesn't hurt,
so we might as well add it.


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