...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Short description:
T
to
known amount of fields
I
be is an index of current field, it equals 0
at run-time: T
is constructed and field I
is aggregate initialized using a separate instance of structure
that is convertible to anything
Note | |
---|---|
Additional care is taken to make sure that all the information
about |
I
+= 1
I
does not equal fields count goto step c.
from inside of the conversion operator of the structure that
is convertible to anything
Long description of some basics: Antony Polukhin: Better C++14 reflections. Long description of some basics of C++14 with BOOST_PFR_USE_LOOPHOLE == 0: Antony Polukhin: C++14 Reflections Without Macros, Markup nor External Tooling. Description of the BOOST_PFR_USE_LOOPHOLE == 1 technique by its inventor Alexandr Poltavsky in his blog.