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?

Thanks,

Andreas
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to