Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2005-05-06 02:44:14


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk