Andreas Huber <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi there > > I found the following lines (57-61) in boost/optional.hpp > > union dummy_u > { > char data[ sizeof(T) ]; > type_with_alignment< ::boost::alignment_of<T>::value > aligner_; > } dummy_ ; > > Not that I understand a lot about alignment issues, but shouldn't > line 60 read: > > typename type_with_alignment< > ::boost::alignment_of<T>::value >::type aligner_; > > I.e. "::type" is missing? >
:-0 You're absolutely right!!! BTW: I wish I had a platform were misalignment does cause a fault, unlike Windows. Fixed. Thank you! Fernando Cacciola _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost