Raven Engine v0.1
Loading...
Searching...
No Matches
Raven::Iterable Concept Reference

Concept to check if T is iterable (supports begin() and end()). More...

#include <Concepts.h>

Concept definition

template<typename T>
concept Raven::Iterable = requires(T t) {
t.begin();
t.end();
}
Concept to check if T is iterable (supports begin() and end()).
Definition Concepts.h:114

Detailed Description

Concept to check if T is iterable (supports begin() and end()).

This concept checks if the type T supports the begin() and end() functions, indicating that it is iterable.

Template Parameters
TThe type to check.