Boost logo

Boost :

From: Gilles J. Seguin (segg_at_[hidden])
Date: 2002-03-04 15:33:25

Craig Rodrigues wrote:
> Hi,
> This test fails with GCC 3.0 but passes with GCC 3.1.

$ rpm -q gcc

    g++ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline \
 -I"../../../libs/type_traits/tests" -I"." -I"/usr/h1/boost/boost" \

/usr/h1/boost/boost/boost/type_traits/cv_traits.hpp: In instantiation of
 `boost::is_const<int& const>':
cv_traits_test.cpp:40: instantiated from here
/usr/h1/boost/boost/boost/type_traits/cv_traits.hpp:129: forming pointer to
   reference type `int& const'
cv_traits_test.cpp: In function `int cpp_main(int, char**)':
cv_traits_test.cpp:40: non-constant `(boost::is_const<int& const>::value ==
   false)' cannot be used as template argument
...failed gcc-C++-action

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