From: Joel de Guzman (joel_at_[hidden])
Date: 2007-04-01 23:43:51
As part of Spirit2 dev, I needed to adapt arbitrary structs non-intrusively
to fusion. And, I need it to be as simple as possible. How can it be more
simpler? Well, I used the std::pair adapter as a test bed. Attached is what's
left of the std::pair<-->fusion adapter.
Committed to CVS HEAD.
Next stop, I'll add some macros to make it easier to adapt simple
or, if you want fusion to declare the struct itself:
-- 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