codex
|
#include "detail/fields.hpp"
Go to the source code of this file.
Namespaces | |
namespace | codex |
namespace | codex::refl |
Typedefs | |
template<typename T > | |
using | codex::refl::field_tuple_t = decltype(field_tuple(std::declval<T>())) |
Alias of the tuple type returned by field_tuple for type T . | |
Functions | |
template<typename T , std::size_t ... N> | |
constexpr std::size_t | codex::refl::field_count (void) |
Number of fields in the struct T . | |
template<typename T , std::size_t ... N> requires (requires { T{detail::to_any<N>{}...}; }) | |
constexpr std::size_t | codex::refl::field_count (void) |
Number of fields in the struct T . | |
template<typename T > | |
auto | codex::refl::field_tuple (T &&t) |
Constructs a tuple of references to each field of T , in order. | |