Boost logo

Boost :

Subject: Re: [boost] Seeking endorsement for the reflection library (PFR)
From: Peter Dimov (lists_at_[hidden])
Date: 2017-11-05 21:28:03


Antony Polukhin wrote:
> Hello,
>
> PFR is a C++14 library that provides tuple-like methods for aggregate
> initializables. Library has a set of predefined operators and useful
> functions for everyday use. Works with user-defined types without any
> macro or boilerplate code.
>
> Library: https://github.com/apolukhin/magic_get
> Docs: http://apolukhin.github.io/magic_get/

I enjoyed your talk (https://www.youtube.com/watch?v=abdeAew3gmQ). Quite
inspirational.

One thing that immediately came to mind was that you can avoid using macros
for the type registration by putting all the types into an mp_list and then
use mp_at/mp_find to go from index to type and vice versa.

Flat/precise strikes me as odd though. Do we have to have both? Precise
seems to be what I'd always want.


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