#include <alpaqa/util/enumerate.hpp>
Definition at line 23 of file enumerate.hpp.
Public Types | |
using | index_t = std::ranges::range_difference_t< Rng > |
using | difference_type = std::ptrdiff_t |
using | value_type = std::tuple< index_t, decltype(*it)> |
Public Member Functions | |
iter_t ()=default | |
iter_t (begin_t &&it) | |
bool | operator!= (sentinel_t s) const |
bool | operator== (sentinel_t s) const |
iter_t & | operator++ () |
iter_t | operator++ (int) const |
value_type | operator* () const |
Public Attributes | |
index_t | index {} |
begin_t | it |
Definition at line 28 of file enumerate.hpp.
using difference_type = std::ptrdiff_t |
Definition at line 32 of file enumerate.hpp.
Definition at line 33 of file enumerate.hpp.
|
inline |
Definition at line 35 of file enumerate.hpp.
|
inline |
Definition at line 36 of file enumerate.hpp.
Definition at line 46 of file enumerate.hpp.
|
inline |
Definition at line 52 of file enumerate.hpp.
Definition at line 29 of file enumerate.hpp.
Definition at line 30 of file enumerate.hpp.