![]() |
Boost : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-10-18 04:04:35
John Maddock wrote:
> Markus Schöpflin wrote:
>> I would gladly help, but I have no idea what you would exactly like
>> to have removed. If you're referring to the multiset failure, I don't
>> see any typecast involved in the test code. Could you please be more
>> specific?
>
> In:
>
> ../libs/mpl/test/multiset.cpp:61: error:
> '(((int)boost::mpl::count_impl<boost::mpl::aux::multiset_tag>::apply<boost::mpl::multiset0<0>,
> int>::value) == 0)' is not a valid template argument for type 'bool' because
> it is a non-constant expression
>
> I have a suspicion that's it's complaining because of the cast to (int).
> But I could be completely wrong!
Hmm, I think this is completely beyond me. I can't even find where that
cast to int comes from. Here is the preprocessed source code for reference:
enum { mpl_assertion_in_line_61 = sizeof(
boost::mpl::assertion_failed<(( count<typename T::s0,int>::value ) == 0)>(
(boost::mpl::failed ************ ( boost::mpl::assert_relation\
< boost::mpl::assert_::relations( sizeof( boost::mpl::assert_::arg ==
boost::mpl::assert_::arg ) ) , ( count<typename T::s0,int>::value ) , 0
>::************)) 0 ) ) };
Maybe this helps anyone to point me in the right direction.
Markus
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk