Home | Libraries | People | FAQ | More |
pfr::names_as_array — Creates a std::array
from names of fields of an simple aggregate T
.
// In header: <pfr/core_name.hpp> template<typename T> constexpr std::array< std::string_view, pfr::tuple_size_v< T > > names_as_array();