#include <cstddef>
#include <tuple>
#include <type_traits>
#include <utility>
Go to the source code of this file.
|
constexpr auto | donut::reflection::fields (auto &&aggregate) noexcept |
| Get a tuple of references to each of the fields of an aggregate.
|
|
template<std::size_t N> |
constexpr void | donut::reflection::forEachIndex (auto fn) |
| Execute a function once for each index in the sequence from 0 up to, but not including, a given count N.
|
|
constexpr void | donut::reflection::forEach (auto &&tuple, auto fn) |
| Execute a function once for each element in a given tuple, sequentially.
|
|
constexpr auto | donut::reflection::transform (auto &&tuple, auto fn) |
| Execute a function for each element in a given tuple and return a tuple containing the results.
|
|