
12 Aug
2010
12 Aug
'10
5:06 a.m.
On 8/11/2010 6:46 PM, David Sankel wrote:
Up until this point, struct adaptation has exclusively been over the instance record, point c) above. This is very simple to understand and implies exactly one canonical adaptation for every struct/class.
This isn't exactly true. You can adapt a struct to multiple coexisting views by simply using BOOST_FUSION_ADAPT_STRUCT_NAMED ( or BOOST_FUSION_ADAPT_CLASS_NAMED ). -- ---------------------------------- Michael Caisse Object Modeling Designs www.objectmodelingdesigns.com