Is it possible to define (or adapt) a Boost Fusion structure that contains a Boost Fusion structs member in a single expression?
For example, how can I adapt or define something equivalent to this:
struct Outer
{
int i;
float j;
struct Nested
{
int a;
} nested;
};
If both Outerand Outer::Nestedare reflective types.
Defining all inner types in order of least grace is very erratic and externally reflects inner types.
source
share