Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2003-03-14 08:04:05


Markus Schöpflin wrote:

> gmane wrote:
>
>> Andreas Huber <ah2003_at_[hidden]> wrote in message
>> news:20030313112953.1547.qmail_at_web14204.mail.yahoo.com...
>
>
>>> typename type_with_alignment<
>>> ::boost::alignment_of<T>::value >::type aligner_;
>
>
>> You're absolutely right!!!
>>
>> BTW: I wish I had a platform were misalignment does cause a fault, unlike
>> Windows.
>>
>> Fixed.
>
> Fernando, I think you missed the "typename" above. The optional test now
> fails for VA6, and I would think for other compilers as well.

I just commited a fix for this to the release branch and the trunk. I
added "BOOST_DEDUCED_TYPENAME" instead of "typename", which should
work for all compilers. I hope you don't mind.

Markus


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