Trait: index of the first occurrence of T among the specified Types, starting from the one with index StartFrom.
More...
#include <MetaUtils.h>
Trait: index of the first occurrence of T among the specified Types, starting from the one with index StartFrom.
| T | the type of check the presence of |
| StartFrom | number of Types that will be ignored |
| Types | the possible types T can match. |
util::find_next_typeThe value of the trait is the index of T within the specified list of Types (first type as index 0). The first StartFrom Types are ignored, but still counted. The match is exact, as in std::is_same. If none of the Types exactly matches T, the trait value will be the number of types (i.e. sizeof...(Types)), which is the index after the last of the types.
This is a integral trait (type std::size_t): use it as std::integer_constant.
Definition at line 207 of file MetaUtils.h.
1.8.11