Boost logo

Boost :

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" <
boost_at_[hidden]> написал:

I enjoyed your talk ( 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, gregod at, cpdaniel at, john at