Open bansan85 opened 3 days ago
Glaze uses a trick to support non-aggregate initializable struct:
template <> struct glz::meta<my_struct> { using T = my_struct; static constexpr auto value = object( &T::i, &T::d, &T::hello, &T::arr, &T::map ); };
Maybe pfr could use something like that ?
Glaze uses a trick to support non-aggregate initializable struct:
Maybe pfr could use something like that ?