
13 Nov
2006
13 Nov
'06
12:27 a.m.
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