Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2004-10-25 07:33:52

I think I've reduced the problem Boost.Variant is
having with GCC 2.95 (see for instance

The attached snippet works OK for GCC 3.2 and other compilers,
but ICEs on GCC 2.95, with the same problem shown in

The culprit has to do with transform (and other MPL algoritmhs)
dealing with expressions of the form:

apply1<lambda<sizeof_<_1> >::type,_1>

wich AFAIK are correct (otherwise somebody please correct me.)

In case it is not possible to fix this in the MPL, I think I
can hack a specific workaround for GCC 2.95 into the code
of Boost.Variant, but I guess trying to fix MPL first is
more sensible.


Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

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