5#ifndef RHYTHMGAME_TUPLESIZE_H
6#define RHYTHMGAME_TUPLESIZE_H
8#include <boost/pfr/tuple_size.hpp>
19 std::tuple_size<T>::value
21 } || std::is_aggregate_v<T>
24 static constexpr auto tupleSizeImpl() -> std::size_t
26 if constexpr (
requires {
28 std::tuple_size<T>::value
31 return std::tuple_size<T>::value;
33 return boost::pfr::tuple_size<T>::value;
Used to get the size of a tuple or an aggregate.
Definition TupleSize.h:23
static constexpr auto value
Definition TupleSize.h:38
Contains various helper classes and functions.
Definition Capitalize.h:9
constexpr auto tupleSizeV
Definition TupleSize.h:42