Boost logo

Boost :

Subject: Re: [boost] [mirror] -- RFC
From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2009-03-30 12:18:07


On Mon, Mar 30, 2009 at 5:49 PM, Matus Chochlik <chochlik_at_[hidden]> wrote:
> On Mon, Mar 30, 2009 at 3:59 PM, Mathias Gaunard
> <mathias.gaunard_at_[hidden]> wrote:
>> Matus Chochlik wrote:
>>
> [snip]
>>
>> From a quick reading of the documentation, I can see this library allows:
>> - to register members of a class and to be able to iterate them later at
>> compile-time. That kind of thing is already provided by Boost.Fusion
>> somehow.
>
> Yes, Boost.Fusion allows this,  but I can't imagine any complex
> application using just Fusion tuples instead of any regular classes.
> Furthermore Mirror can work with existing third-party classes

Boost.Fusion allows mapping non-intrusively regular classes to fusion.sequences.

And, FWIW, I have written complex applications using fusion tuples
(heck, even plain tupes) instead of regular classes.

-- 
gpd

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