Stephen Gross wrote:
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 );
Replace it? Where?
in boost/detail/is_incrementable.hpp
All I did was include a boost file, and this compile error was produced!
--Steve
Jonathan