Closed mcy closed 3 months ago
This change adds a very basic struct and enum reflection framework, which I will use to build a CLI flags parser on top of. This adds:
best::mirror
best::reflect
best::is_struct
best::is_enum
best::row::select()
best::type_name<T>
best::row::as_ref()
best::is_member_ptr<T>
best::tap
->*
This change adds a very basic struct and enum reflection framework, which I will use to build a CLI flags parser on top of. This adds:
best::mirror
,best::reflect
, and friends.best::is_struct
andbest::is_enum
.best::row::select()
, for pulling out specific elements of a generic row by type or key.best::type_name<T>
and friends.best::row::as_ref()
best::is_member_ptr<T>
best::tap
, for constructing->*
helpers.