
On 1/21/2010 5:24 AM, Nat Goodspeed wrote:
Joel de Guzman wrote:
Or, if you can wait a bit, I do intend to write an intrusive version of the FUSION_ADAPT_STRUCT which also generates the struct along with the constructors and assignment to/from fusion sequences. I dunno, perhaps you can persuade a fusion guru to write the code (Christopher)? :-)
This isn't all of the above, but the attached worked for me as of Boost 1.35.0...
Aha! Someone took the challenge :-) I should post more challenges like this. There are lots of bits and pieces that I'd appreciate help on. This is one of 'em. Anyway... my hesitation is that the struct is placed in global namespace. Is it still usable when the macro invoked in a specific namespace? Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net http://www.facebook.com/djowel Meet me at BoostCon http://www.boostcon.com/home http://www.facebook.com/boostcon