|
RhythmGame 1.4.3
|
#include <boost/pfr/tuple_size.hpp>#include <boost/pfr/core.hpp>

Go to the source code of this file.
Namespaces | |
| namespace | support |
| Contains various helper classes and functions. | |
Functions | |
| template<std::size_t N, typename T > requires requires { std::get<N>(std::declval<T>()); } | |
| constexpr auto | support::get (T &&t) -> auto & |
| Returns the nth element of a type that supports std::get. | |
| template<std::size_t N, typename T > requires std::is_aggregate_v<std::remove_cvref_t<T>> | |
| constexpr auto | support::get (T &&aggregate) -> auto & |
| Returns the nth member of an aggregate. | |