Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] adapt std::tuple to be a fusion sequence?
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-08-09 05:14:29


On 8/8/2011 8:49 PM, "Claas H. Köhler" wrote:
>
> I was wondering about the status of the above topic:
> Does a boost implementation of an adaptor exist or is Sebastian's
> suggestion the best alternative currently available?
>
> His solution did not work out of the box for me, since g++-4.6
> complained about an
>
> "incomplete type std::tuple_size<const std::tuple<..."
>
> However, when I replaced each occurence of std::tuple_size<X> by
>
> std::tuple_size< typename std::remove_cv<X>::type >
>
> everything seemed to work fine.

No, there is nothing official, yet. I'll need code + docs before I
can add it to the library. Sorry, code only will not be enough.
Alas, I do not have time to do it. Best I can do is review the code
and docs, if anyone cares to submit.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://boost-spirit.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net