|
Boost : |
From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-05-19 11:22:25
The make_storage template at line 215 of:
http://boost.cvs.sourceforge.net/boost/boost/boost/variant/variant.hpp?revision=1.97&view=markup
uses max over the alignment_of's for the types in the variant
(See line2 233-235) to calculate the variant's alignment.
However, to handle the extended alignments described on page 3 of:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2165.pdf
the boost::math::static_lcm template should be used instead of max.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk