kumi v3.1.0
Exquisite Epidote
 
Loading...
Searching...
No Matches
kumi::indexer Concept Reference

Concept specifying if a type is suitable as an index. More...

#include <kumi/utils/concepts.hpp>

Detailed Description

Concept specifying if a type is suitable as an index.

A type T models kumi::indexer if it models kumi::index_map or std::is_integral

Concept definition

template<typename T>
concept kumi::indexer = index_map<T> || std::integral<std::remove_cvref_t<T>>
Concept specifying if a type can be used as sequence of indexes in algorithms.
Definition concepts.hpp:93
Concept specifying if a type is suitable as an index.
Definition concepts.hpp:102