id summary reporter owner description type status milestone component version severity resolution keywords cc 1099 "unable to iterate through a ""non-explicitly-declared"" mpl::set" wheber@… Aleksey Gurtovoy "Iteration through the elements of an explicitly declared mpl::set works as advertised. However, if the set is not explicitly declared, iteration does not compile. Here is a simple case: {{{ typedef set<> empty_set; BOOST_MPL_ASSERT_RELATION(size::value, ==, 0); typedef insert::type set2_t; BOOST_MPL_ASSERT_RELATION(size::value, ==, 1); //test iterating through the mpl.set: typedef begin::type set2_itr0_t; BOOST_MPL_ASSERT((is_same::type, char>::type)); typedef next::type set2_itr1_t;//compile error at this line BOOST_MPL_ASSERT((is_same::type>::type)); }}} Both compilers I've been able to try report the error (msvc 8.0 and gcc 3.4.4)." Bugs closed To Be Determined mpl Boost 1.34.0 Problem fixed