|
Py2Cpp 1.6.3; VERSION ${PROJECT_VERSION}
|
Wrapper for making containers enumerable. More...
#include <enumerate.hpp>
Public Member Functions | |
| auto | begin () const -> EnumerateIterator< T > |
| Get iterator to the beginning. | |
| auto | end () const -> EnumerateIterator< T > |
| Get iterator to the end. | |
Public Attributes | |
| T & | iterable |
Wrapper for making containers enumerable.
Provides begin/end methods that return EnumerateIterator instances, enabling range-based for loops with index-value pairs.
| T | The container type to wrap |
|
inline |
Get iterator to the beginning.
Returns an EnumerateIterator pointing to the start of the container.
|
inline |
Get iterator to the end.
Returns an EnumerateIterator pointing past the end of the container.
| T& py::detail::EnumerateIterableWrapper< T >::iterable |