Puverle, Tomas writes:
Please find attached a small program and a the resulting compilation errors on SunCC. This occurs in iterator_facade.hpp, operator != (), calling to interator_core_access::equal. I have tracked this down to the following problem:
f(mpl::true_); f(mpl::false_);
f(is_convertible<>()); //will not work
is_convertible<> derives from mpl::bool<>,
Actually, on SunCC, it doesn't -- see lines 19-24 in "boost/type_trais/detail/bool_trait_def.hpp": #if defined(__SUNPRO_CC) # define BOOST_TT_AUX_BOOL_TRAIT_VALUE_DECL(C) \ typedef BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::bool_< C > type; \ enum { value = type::value }; \ /**/ # define BOOST_TT_AUX_BOOL_C_BASE(C) I'd say it's a bug. Would you mind applying the attached patch to the aformentioned header and reporting back whether it fixes the problem or not? -- Aleksey Gurtovoy MetaCommunications Engineering