Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-05-06 19:50:50

Douglas Gregor <gregod_at_[hidden]> writes:

> On Tuesday 06 May 2003 06:51 pm, Christopher Currie wrote:
>> The following is a proposed patch to boost/type_traits/alignment_of.hpp.
>> This file has been causing an assertion in the Sun compiler, for which
>> this patch is a workaround.
>> With this patch applied the alignment_of test case now compiles under
>> the Sun compiler, and runs without errors.
>> Let me know if anyone has any questions.
>> Christopher
> Looks good. I've applied it.

Maybe we should be treating Sun in the config as though it doesn't
support in-class static constant initialization (so
BOOST_STATIC_CONSTANT generates an enum)? It seems like trying to
track down all these cases piecemeal is going to be a losing battle.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at