Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-05-04 01:54:09


John Max Skaller wrote:

> Since the calculation isn't definite, I'd prefer to see
> a constant
[...]
> boost::max_align
>
> included in the library somewhere.

I agree with that. For computing that value at run-time (and thus
possibly validating in the regression tests if this stands a chance
of being correct, could we possibly exploit section 5.3.4p10 of the
standard? Implementations have to keep the size of an array around
somewhere, so it's likely that the "integral multiple" the paragraph
talks about is actually not 0.

Jens Maurer


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk