
On Thu, Feb 12, 2009 at 7:52 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG
Stjepan Rajko wrote:
/Development/boost/boost/fusion/adapted/array/array_iterator.hpp:29: error: 'boost::array<ame::patterns::normal_model_state, 12ul>::<anonymous enum>' is/uses anonymous type /Development/boost/boost/fusion/adapted/array/array_iterator.hpp:29: error: trying to instantiate 'template<class Seq1, class Seq2> struct boost::fusion::detail::enable_comparison'
The offending line in array_iterator is: BOOST_MPL_ASSERT_RELATION(Pos, <=, Array::static_size);
Commenting out that line results in a successful compile, and the program runs as expected.
I would really appreciate it if someone could help me out here, I am in total dark as to why the BOOST_MPL_ASSERT_RELATION is not working correctly, and what fusion::detail::enable_comparison has to do with anything.
Wild guess: try casting Array::static_size to int?
That worked - thanks! Created ticket https://svn.boost.org/trac/boost/ticket/2761 Stjepan