libzed 1.11.4
A general-purpose library for quick and simple data manipulation.
 
Loading...
Searching...
No Matches
iterable.hpp
1#pragma once
2
3namespace z {
4namespace core {
9template <typename ITER>
10class iterable {
11public:
20 virtual ITER begin() const noexcept = 0;
21
31};
32} // namespace core
33} // namespace z
A wrapper for std::vector.
Definition array.hpp:38
A base interface for all objects that can be iterated over.
Definition iterable.hpp:10
virtual ITER begin() const noexcept=0
Get an iterator for the first element in this object.
virtual ITER end() const noexcept=0
Get an iterator after the last element of this object.