3 #include <boost/hana/for_each.hpp>
11 template <
class CL,
class MT, MT CL::*ptr>
18 template <
class CL,
class MT, MT CL::*ptr>
24 template <
class CL,
class =
void>
46 template <
class VarName,
class MT, MT CL::*ptr>
49 const boost::hana::pair<VarName,
50 boost::hana::struct_detail::member_ptr<MT CL::*, ptr>>&,
63 static constexpr
auto accessors = boost::hana::accessors<CL>();
64 boost::hana::for_each(accessors,