|
Boost : |
From: Joel de Guzman (joel_at_[hidden])
Date: 2006-11-12 19:27:34
Jaakko Järvi wrote:
>
> On May 17, 2005, at 10:22 PM, Larry Evans wrote:
>
>> On 05/17/2005 10:07 PM, Jaakko Järvi wrote:
[...]
>> I'd suggest making variant part of mpl. With that, the problem
>> disappears.
>
> Yes, variant, mpl, tuple (or fusion), should play well together.
> A good first step would be to start using the same type to mark that
> no type was specified (instead of the variations void_, null_t, ...).
FYI, variant is now a valid fusion sequence. I needed that in the course
of Spirit2 development and Dan Marsden wrote an adapter for us. Thanks
Dan! With it, you can do stuff like:
*fusion::find_if<some_meta_function>(v) = val;
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