Skip to content

type_list

#include <sbio/core/roles.hh>
template<typename... Ts>
struct type_list

Defined in src/lib/sbio/core/roles.hh:84

Return Name Description
constexpr hd_std::ptrdiff_t index_of static constexpr
constexpr bool accepts static constexpr Evaluates true if the type U is in the type list.

static constexpr

constexpr hd_std::ptrdiff_t index_of = (sizeof...(Ts) == 0)
? -1
: index_of_impl<Target, 0, Ts...>::value

Defined in src/lib/sbio/core/roles.hh:112


static constexpr

constexpr bool accepts = (sizeof...(Ts) == 0) || IsInList<U, Ts...>

Defined in src/lib/sbio/core/roles.hh:120

Evaluates true if the type U is in the type list.

Return Name Description
SBIO_HD constexpr hd_std::size_t size static inline constexpr Returns the length of the type list, i.e., the number of types.

static inline constexpr

constexpr static inline SBIO_HD constexpr hd_std::size_t size()

Defined in src/lib/sbio/core/roles.hh:109

Returns the length of the type list, i.e., the number of types.

The length of the type list.