RE: [boost] Re: [MPL] is_sequence problem

This is not my problem (just piqued my interest :) ) But for grins I tried this on 7.1 boost::mpl::is_sequence< list<int> >; // compiles boost::mpl::is_sequence< int_<0> >; // compiles boost::mpl::is_sequence< int<0> >; // doesnt compile boost::mpl::is_sequence< int_<0> >::value; // doesnt compile so replacing with int didn't work
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Joel Sent: Thursday, May 05, 2005 10:25 PM To: boost@lists.boost.org Subject: [boost] Re: [MPL] is_sequence problem
Brian Braatz wrote:
Could it be as simple as missing the namespace on the is_sqeuence<> call?
Have you tried it? If it was, I wouldn't have bothered the list ;-) Try replacing int_<0> with int.
Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Brian Braatz wrote:
This is not my problem (just piqued my interest :) )
But for grins I tried this on 7.1
boost::mpl::is_sequence< list<int> >; // compiles boost::mpl::is_sequence< int_<0> >; // compiles boost::mpl::is_sequence< int<0> >; // doesnt compile boost::mpl::is_sequence< int_<0> >::value; // doesnt compile
so replacing with int didn't work
Still awake? hehe... Well, I meant: boost::mpl::is_sequence<int> which compiles and gives the correct result (value). -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
participants (2)
-
Brian Braatz
-
Joel de Guzman