Boost logo

Boost :

Subject: Re: [boost] [fusion] [intro] ADAPT_STRUCT extensions
From: Michael Caisse (boost_at_[hidden])
Date: 2010-08-12 01:06:04


  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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk