#include <alpaqa/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 |
using index_t = std::ranges::range_difference_t<Rng> |
Definition at line 28 of file enumerate.hpp.
using difference_type = std::ptrdiff_t |
Definition at line 32 of file enumerate.hpp.
using value_type = std::tuple<index_t, decltype(*it)> |
Definition at line 33 of file enumerate.hpp.
|
default |
Definition at line 26 of file enumerate.hpp.
|
inline |
Definition at line 35 of file enumerate.hpp.
|
inline |
Definition at line 36 of file enumerate.hpp.
|
inline |
Definition at line 41 of file enumerate.hpp.
|
inline |
Definition at line 46 of file enumerate.hpp.
|
inline |
Definition at line 52 of file enumerate.hpp.
index_t index {} |
Definition at line 29 of file enumerate.hpp.
begin_t it |
Definition at line 30 of file enumerate.hpp.