Boost logo

Boost :

Subject: Re: [boost] Seeking endorsement for the reflection library (PFR)
From: Peter Dimov (lists_at_[hidden])
Date: 2017-11-09 11:55:49


Antony Polukhin wrote:

> You can not extract the X1 and X2 types from ubiq{} without registering
> them in the map first or exploiting core language issue. However you can
> register all the builtin types in the map, flatten the X3 till builtin
> types and extract that knowledge.

You got me wondering here. Is it not possible to pass an array of size_t to
the size_t* parameter, instead of a single size_t, and then encode the
layout of X1 in it?


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