21 Jul
2014
21 Jul
'14
8:53 a.m.
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.