typelist.h File Reference
#include <tuple>
Classes | |
struct | ttg::meta::type_identity< T > |
struct | ttg::meta::typelist< Ts > |
A container for types. More... | |
struct | ttg::meta::is_typelist< T > |
struct | ttg::meta::is_typelist< typelist< Ts... > > |
struct | ttg::meta::typelist_to_tuple< typelist< T... > > |
struct | ttg::meta::typelist_size< typelist< Ts... > > |
struct | ttg::meta::typelist_is_empty< T > |
struct | ttg::meta::typelist_is_not_empty< T > |
struct | std::tuple_size< ttg::meta::typelist< Ts... > > |
struct | std::tuple_element< I, ttg::meta::typelist< Ts... > > |
Namespaces | |
ttg | |
top-level TTG namespace contains runtime-neutral functionality | |
ttg::meta | |
Typedefs | |
template<typename T > | |
using | ttg::meta::typelist_to_tuple_t = typename typelist_to_tuple< T >::type |
template<typename... Ts> | |
using | ttg::typelist = meta::typelist< Ts... > |
Functions | |
template<std::size_t I, typename T , typename... RestOfTs> | |
constexpr auto | ttg::meta::get (typelist< T, RestOfTs... >) |
Variables | |
template<typename T > | |
constexpr bool | ttg::meta::is_typelist_v = is_typelist<T>::value |
template<typename T > | |
constexpr std::size_t | ttg::meta::typelist_size_v = typelist_size<T>::value |
template<typename T > | |
constexpr bool | ttg::meta::typelist_is_empty_v = (typelist_size_v<T> == 0) |
template<typename T > | |
constexpr bool | ttg::meta::typelist_is_not_empty_v = (typelist_size_v<T> != 0) |