7 Apr
2005
7 Apr
'05
4:10 p.m.
Stephen Gross
When including "boost/iterator/indirect_iterator.hpp", I get:
"/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp", line 56: error:
expression must have arithmetic, enum, or pointer type
BOOST_STATIC_CONSTANT(
^
"/usr/local/sagedev/apis/include/boost_1_32_0/boost/detail/is_incrementa ble.hpp",
This is a shot in the dark, but why don't you try replacing BOOST_STATIC_CONSTANT( bool , value = sizeof(is_incrementable_::check(BOOST_comma(++x,0))) == 1 ); with BOOST_STATIC_CONSTANT( int , value = sizeof(is_incrementable_::check(BOOST_comma(++x,0))) == 1 ); Joaquín M López Muñoz Telefónica, Investigación y Desarrollo