MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::Iterator Concept Reference

The Addressable trait for types Something that implements this trait allows addressing items by index. More...

#include <traits.hpp>

Concept definition

template<typename T>
concept mtcore::Iterator = requires(T &t) {
{ t.next() } -> std::same_as<Optional<typename T::IterElem>>;
}
The Addressable trait for types Something that implements this trait allows addressing items by index...

Detailed Description

The Addressable trait for types Something that implements this trait allows addressing items by index.

Definition at line 89 of file core/mtcore/traits.hpp.