diff --git a/docs/types/type-list.md b/docs/types/type-list.md index 1a15db2c..04062874 100644 --- a/docs/types/type-list.md +++ b/docs/types/type-list.md @@ -10,7 +10,7 @@ title: "type_list" ## type_list ```cpp -template > +template struct type_list ``` **Description** @@ -217,7 +217,7 @@ template struct type_list_select ``` **Description** -Selects types from a given `type_list`, according to a list if indices. +Selects types from a given `type_list`, according to a list of indices. Defines `type` as the modified `type_list`. --- @@ -227,17 +227,17 @@ template type_list_select_t ``` **Description** -Selects types from a given `type_list`, according to a list if indices. +Selects types from a given `type_list`, according to a list of indices. Defined as the modified `type_list`. ## type_list_select_from_indexes ```cpp -template type_list_select_from_indexes ``` **Description** `type_list_select_from_indexes` is an alias of `type_list_select` to be more consistent with the naming of other type_list metafunctions. -Selects types from a given `type_list`, according to a list if indices. +Selects types from a given `type_list`, according to a list of indices. Defines `type` as the modified `type_list`. ## type_list_select_from_index_sequence @@ -596,7 +596,7 @@ constexpr bool type_list_none_of_v **Description** Checks that no types in a `type_list` satisfy a unary predicate. Predicate must be: `template struct Pred : etl::bool_constant<...> {};` -Defined` as `true` or `false`. +Defined as `true` or `false`. From: `C++17` ## type_lists_are_convertible @@ -738,19 +738,19 @@ template struct type_list_in_no_lists ``` **Description** -Checks if a type `T` is present in at least one of the provided `type_lists`. -Inherits from `etl::true_type` if `T` is in any list, otherwise `etl::false_type`. +Checks if a type `T` is present none of the provided `type_lists`. +Inherits from `etl::true_type` if `T` is in no list, otherwise `etl::false_type`. Since: `20.48.0` --- ```cpp template -constexpr bool type_list_in_no_list_v +constexpr bool type_list_in_no_lists_v ``` **Description** -Checks if a type `T` is present in at least one of the provided `type_lists`. -Defined as `true` if `T` is in any list, otherwise `false`. +Checks if a type `T` is present in none of the provided `type_lists`. +Defined as `true` if `T` is in no list, otherwise `false`. Since: `20.48.0` From: `C++17` diff --git a/include/etl/type_list.h b/include/etl/type_list.h index af635574..8255eaa7 100644 --- a/include/etl/type_list.h +++ b/include/etl/type_list.h @@ -992,11 +992,11 @@ namespace etl { }; - // Specialisation if no lists provided. - template - struct type_list_in_any_list : etl::false_type - { - }; + //// Specialisation if no lists provided. + //template + //struct type_list_in_any_list : etl::false_type + //{ + //}; #if ETL_USING_CPP17 template