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

The Iterable trait for types Something that implements this trait can give an iterator to iterate over the elements. More...

#include <traits.hpp>

Concept definition

template<typename T>
concept mtcore::Iterable = requires(const T &t) {
{ t.iter() } -> Iterator;
}
The Iterable trait for types Something that implements this trait can give an iterator to iterate ove...
The Addressable trait for types Something that implements this trait allows addressing items by index...

Detailed Description

The Iterable trait for types Something that implements this trait can give an iterator to iterate over the elements.

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