#include <py2cpp/enumerate.hpp>
EnumerateIterableWrapper struct
The code defines a struct called EnumerateIterableWrapper
that acts as a wrapper for an iterable object. It provides two member functions, begin()
and end()
, which return instances of the EnumerateIterator
struct.
Public functions
Public variables
Function documentation
auto py:: detail:: EnumerateIterableWrapper<_1>:: begin() const -> EnumerateIterator< T >
begin
Returns | EnumerateIterator<T> |
---|
The begin()
function is a member function of the EnumerateIterableWrapper
struct. It returns an instance of the EnumerateIterator<T>
struct, which is used to iterate over the elements of the iterable object.
auto py:: detail:: EnumerateIterableWrapper<_1>:: end() const -> EnumerateIterator< T >
end
Returns | EnumerateIterator<T> |
---|
The end()
function is a member function of the EnumerateIterableWrapper
struct. It returns an instance of the EnumerateIterator<T>
struct, which is used to mark the end of the iteration over the elements of the iterable object.