Subject: Re: [boost] Seeking endorsement for the reflection library (PFR)
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2017-11-06 10:28:26
6 Ð½Ð¾ÑÐ±. 2017 Ð³. 0:28 Ð¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°ÑÐµÐ»Ñ "Peter Dimov via Boost" <
I enjoyed your talk (https://www.youtube.com/watch?v=abdeAew3gmQ). Quite
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.
Yes, but the macro idea came to me first. MPL is slow and adds dependency
to Boost library, so I'm avoiding it right now.
Flat/precise strikes me as odd though. Do we have to have both? Precise
seems to be what I'd always want.
Flat reflection is left there mostly for users that wish to use library on
a C++14 compiler and do not wish to exploit the core language defect. But
you are right, most of the users will prefer precise reflection.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk