Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2006-01-08 21:58:29


Hi,

I hope this post did not go unnoticed. Thanks!

Joel de Guzman wrote:
> Hi,
>
> A few months ago, I had a problem with mpl::is_sequence. It seems
> that the problem is not yet fixed. Anyway, to simplify, here's
> the code that exhibits the problem:
>
> #include <boost/mpl/is_sequence.hpp>
>
> int
> main()
> {
> bool r = boost::mpl::is_sequence<boost::mpl::int_<0> >::value;
> return 0;
> }
>
> The code does not compile on all compilers that I use regularly
> (VC++, g++ and Comeau). Here's a another code that does not compile:
>
> #include <boost/mpl/is_sequence.hpp>
>
> struct x
> {
> typedef int tag;
> };
>
> int
> main()
> {
> bool r = boost::mpl::is_sequence<x>::value;
> return 0;
> }
>
> Is there any chance for this to be fixed in the immediate future?
> I rely on mpl::is_sequence for constrained genericity and concept
> checking in fusion.
>
> Regards,

-- 
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