From: Eric Friedman (ebf_at_[hidden])
Date: 2007-05-24 14:52:21
Larry Evans wrote:
> The make_storage template at line 215 of:
> 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:
> the boost::math::static_lcm template should be used instead of max.
Excellent catch. I've created http://svn.boost.org/trac/boost/ticket/993
for this issue.
The question I have now is the urgency of the fix. In particular, this
issue has been in the code since the beginning but has not been
reported, suggesting perhaps it has not caused problems in practice. Do
you have any thoughts?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk