Tatooine
Classes | Typedefs | Variables
Collaboration diagram for Type Counting:

Classes

struct  tatooine::type_counter_get_count_impl< Counter, T >
 
struct  tatooine::type_counter_get_count_impl< type_list_impl< HeadCounter, Counters... >, T >
 
struct  tatooine::type_counter_get_count_impl< type_set_impl< HeadCounter, Counters... >, T >
 
struct  tatooine::type_counter_get_count_impl< type_list_impl< type_number_pair< T, N >, Counters... >, T >
 
struct  tatooine::type_counter_get_count_impl< type_list_impl<>, T >
 
struct  tatooine::type_counter_get_count_impl< type_set_impl< type_number_pair< T, N >, Counters... >, T >
 
struct  tatooine::type_counter_get_count_impl< type_set_impl<>, T >
 
struct  tatooine::type_counter_increase_if_equal_impl< Counter, T >
 
struct  tatooine::type_counter_increase_if_equal_impl< type_number_pair< T, N >, OtherT >
 
struct  tatooine::type_counter_increase_if_equal_impl< type_number_pair< T, N >, T >
 
struct  tatooine::type_counter_insert_impl< Counter, Ts >
 
struct  tatooine::type_counter_insert_impl< type_list_impl< Counters... >, Head, Rest... >
 
struct  tatooine::type_counter_insert_impl< type_list_impl< Counters... > >
 
struct  tatooine::type_counter_insert_impl< type_set_impl< Counters... >, Head, Rest... >
 
struct  tatooine::type_counter_insert_impl< type_set_impl< Counters... > >
 
struct  tatooine::count_types_impl< StaticTypeSet, Ts >
 
struct  tatooine::count_types_impl< type_list_impl< UniqueTypes... >, Ts... >
 
struct  tatooine::count_types_impl< type_set_impl< UniqueTypes... >, Ts... >
 

Typedefs

template<typename Counter , typename T >
using tatooine::type_counter_increase_if_equal = typename type_counter_increase_if_equal_impl< Counter, T >::type
 
template<typename Counter , typename... Ts>
using tatooine::type_counter_insert = typename type_counter_insert_impl< Counter, Ts... >::type
 
template<typename... Ts>
using tatooine::count_types = typename count_types_impl< type_list< Ts... >, Ts... >::type
 

Variables

template<typename Counter , typename T >
static auto constexpr tatooine::type_counter_get_count
 

Detailed Description

This module is for counting types of a variadic list.

Typedef Documentation

◆ count_types

template<typename... Ts>
using tatooine::count_types = typedef typename count_types_impl<type_list<Ts...>, Ts...>::type

◆ type_counter_increase_if_equal

template<typename Counter , typename T >
using tatooine::type_counter_increase_if_equal = typedef typename type_counter_increase_if_equal_impl<Counter, T>::type

◆ type_counter_insert

template<typename Counter , typename... Ts>
using tatooine::type_counter_insert = typedef typename type_counter_insert_impl<Counter, Ts...>::type

Variable Documentation

◆ type_counter_get_count

template<typename Counter , typename T >
auto constexpr tatooine::type_counter_get_count
staticconstexpr
Initial value:
=
type_counter_get_count_impl<Counter, T>::value