|
GMP 0.3.0
Generative Metaprogramming library for C++
|
Type-level containers and compile-time utility primitives. More...
Concepts | |
| concept | gmp::type_list_like |
| Concept to check if a type is type_list-like. | |
Functions | |
| template<typename T > | |
| consteval const T & | gmp::as_value () noexcept |
Expose a default-constructed value of type T as a compile-time reference. | |
Variables | |
| template<typename T > | |
| constexpr std::size_t | gmp::type_list_size_v |
| template<typename U , type_list_like T> | |
| constexpr bool | gmp::type_list_contains_v |
| template<auto V> | |
| constexpr constant_arg_t< V > | gmp::constant_arg |
A ready-to-use constant_arg_t<V> object for a compile-time value. | |
| using gmp::type_list_concat_t = typedef type_list_concat<TypeLists...>::type |
Definition at line 151 of file type_list.hpp.
| using gmp::type_list_element_t = typedef type_list_element<Idx, T>::type |
Definition at line 76 of file type_list.hpp.
| using gmp::type_list_filter_t = typedef type_list_filter<T, Pred>::type |
Definition at line 454 of file type_list.hpp.
| using gmp::type_list_head = typedef type_list_element_t<0, T> |
Definition at line 100 of file type_list.hpp.
| using gmp::type_list_insert_t = typedef type_list_insert<Idx, NewType, T>::type |
Definition at line 364 of file type_list.hpp.
| using gmp::type_list_last = typedef type_list_element_t<type_list_size_v<T> - 1, T> |
| T | A non-empty type list. |
Definition at line 108 of file type_list.hpp.
| using gmp::type_list_pop_back = typedef type_list_remove_t<type_list_size_v<T> - 1, T> |
Definition at line 171 of file type_list.hpp.
| using gmp::type_list_pop_front = typedef type_list_remove_t<0, T> |
Definition at line 168 of file type_list.hpp.
Definition at line 370 of file type_list.hpp.
Definition at line 367 of file type_list.hpp.
| using gmp::type_list_remove_t = typedef type_list_remove<Idx, T>::type |
Definition at line 165 of file type_list.hpp.
| using gmp::type_list_reverse_t = typedef type_list_reverse<T>::type |
Definition at line 401 of file type_list.hpp.
| using gmp::type_list_tail_t = typedef type_list_tail<T>::type |
Definition at line 126 of file type_list.hpp.
| using gmp::type_list_unique_t = typedef type_list_unique<T>::type |
Definition at line 424 of file type_list.hpp.
| T | The type whose static compile-time value should be returned. |
T. Definition at line 81 of file utility.hpp.
|
inlineconstexpr |
| V | The wrapped compile-time value. |
Definition at line 40 of file utility.hpp.
Referenced by gmp::for_each_member(), gmp::member_name(), and gmp::member_ref().
Definition at line 189 of file type_list.hpp.
Definition at line 51 of file type_list.hpp.