Major changes:
-
Field names reflection. Added new constexpr
boost::pfr::get_name<N, T>()function that returns astd::string_viewwith a name of field at indexNof an aggregateT. Requires C++20.BOOST_PFR_CORE_NAME_ENABLEDis defined to1if the functionality is available. Many thanks to Denis Mikhailov, Bela Schaum and X-Ryl669 for the PR PR#129 and implementation ideas. -
for_each_field()is nowconstexprfor C++17. Many thanks to Alexander Karatarakis for the PR PR#134.