Boost logo

Boost Users :

Subject: Re: [Boost-users] BOOST_FUSION_ADAPT_STRUCT: non intrusive macro, get a fusion sequence of struct member types and member names
From: Joel de Guzman (joel_at_[hidden])
Date: 2010-01-24 21:38:58


On 1/24/2010 8:29 PM, Hicham Mouline wrote:
> Hello,
> I am aware that it is planned to implement metafunctions that returned
> the list of member types of a struct, as well as members names, as
> fusion/mpl sequences. The macro uses some PP magic.
> My project has progressed that I think I need this feature to proceed. I
> may try my hand at implementing these features...
> Which files in boost/fusion are involved in the implementation of the macro?

See boost/fusion/adapted/struct. The member types are already provided through
result_of::at_c. The names are not (yet). Be warned, I have to insist on
updating the docs too :-) Ahem ahem...

Do tell us your proposed interface.

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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net