Boost logo

Boost :

Subject: Re: [boost] quince: queries in C++ expressions
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2014-07-21 04:53:19


On 15/07/14 14:45, Michael Shepanski wrote:

> Could you clarify what you mean by "do this"? QUINCE_MAP_CLASS builds a
> class with exactly the data members, function members, and bases that
> quince requires.

Boost.Fusion defines tuple concepts, and provides utilities to adapt a
class to a tuple (or define a class and adapt it at the same time).

To maximize compatibility, and to prevent users having to say that their
structure is tuple-like a billion times, it's better to reuse this.
Any type that is Fusion-compatible should be made compatible with your
library too.

Also, building as you do seems quite intrusive. You probably want to
support a non-intrusive approach anyway.


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