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