A base interface for all objects that can be iterated over. More...
#include <iterable.hpp>
Public Member Functions | |
virtual | ~iterable () noexcept |
Virtual destructor. | |
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. | |
A base interface for all objects that can be iterated over.
|
pure virtualnoexcept |
Get an iterator for the first element in this object.
This member function should not be used directly. It is meant for C++11's range-based for loop syntax.
Implemented in z::core::array< T >, z::core::array< zstring * >, z::core::circularBuffer< TYPE, LEN >, z::core::generator< T, S >, z::core::string< E >, z::core::string< ascii >, and z::core::string< z::utf8 >.
Get an iterator after the last element of this object.
This member function should not be used directly. It is meant for C++11's range-based for loop syntax.
Implemented in z::core::array< T >, z::core::array< zstring * >, z::core::circularBuffer< TYPE, LEN >, z::core::generator< T, S >, z::core::string< E >, z::core::string< ascii >, and z::core::string< z::utf8 >.