type_traits: type_list_index[_v]

This commit is contained in:
Michele Caini
2022-05-02 10:58:11 +02:00
parent 14d213d13e
commit 03477ce400
3 changed files with 64 additions and 7 deletions

View File

@@ -762,6 +762,7 @@ Here is a (possibly incomplete) list of the functionalities that come with a
type list:
* `type_list_element[_t]` to get the N-th element of a type list.
* `type_list_index[_v]` to get the index of a given element of a type list.
* `type_list_cat[_t]` and a handy `operator+` to concatenate type lists.
* `type_list_unique[_t]` to remove duplicate types from a type list.
* `type_list_contains[_v]` to know if a type list contains a given type.