|
Aerobus v1.2
|
Empty pure template struct to handle type list. More...
#include <aerobus.h>
Classes | |
| struct | pop_front |
| removes types from head of the list More... | |
| struct | split |
| splits list at index More... | |
Public Types | |
| template<typename T > | |
| using | push_front = type_list< T, Ts... > |
| Adds T to front of the list. | |
| template<size_t index> | |
| using | at = internal::type_at_t< index, Ts... > |
| returns type at index | |
| template<typename T > | |
| using | push_back = type_list< Ts..., T > |
| pushes T at the tail of the list | |
| template<typename U > | |
| using | concat = typename concat_h< U >::type |
| concatenates two list into one | |
| template<typename T , size_t index> | |
| using | insert = typename internal::insert_h< index, type_list< Ts... >, T >::type |
| inserts type at index | |
| template<size_t index> | |
| using | remove = typename internal::remove_h< index, type_list< Ts... > >::type |
| removes type at index | |
Static Public Attributes | |
| static constexpr size_t | length = sizeof...(Ts) |
| length of list | |
Empty pure template struct to handle type list.
A list of types.
| ...Ts | types to store and manipulate at compile time |
| using aerobus::type_list< Ts >::at = internal::type_at_t<index, Ts...> |
returns type at index
| index |
| using aerobus::type_list< Ts >::concat = typename concat_h<U>::type |
concatenates two list into one
| U |
| using aerobus::type_list< Ts >::insert = typename internal::insert_h<index, type_list<Ts...>, T>::type |
inserts type at index
| index | |
| T |
| using aerobus::type_list< Ts >::push_back = type_list<Ts..., T> |
pushes T at the tail of the list
| T |
| using aerobus::type_list< Ts >::push_front = type_list<T, Ts...> |
Adds T to front of the list.
| T |
| using aerobus::type_list< Ts >::remove = typename internal::remove_h<index, type_list<Ts...> >::type |
removes type at index
| index |
|
staticconstexpr |
length of list