Barretenberg
The ZK-SNARK library at the core of Aztec
|
Nested iterator class for RefArray, based on indexing into the pointer array. Provides semantics similar to what would be expected if std::array<T&, N> was possible. More...
#include <ref_array.hpp>
Public Member Functions | |
iterator (RefArray const *array, std::size_t pos) | |
Constructs an iterator for a given RefArray object. | |
T & | operator* () const |
iterator & | operator++ () |
iterator | operator++ (int) |
bool | operator== (iterator const &other) const |
bool | operator!= (iterator const &other) const |
Private Attributes | |
RefArray const * | array |
std::size_t | pos |
Nested iterator class for RefArray, based on indexing into the pointer array. Provides semantics similar to what would be expected if std::array<T&, N> was possible.
Definition at line 77 of file ref_array.hpp.
|
inline |
Constructs an iterator for a given RefArray object.
array | Pointer to the RefArray object. |
pos | The starting position in the array. |
Definition at line 85 of file ref_array.hpp.
|
inline |
Definition at line 110 of file ref_array.hpp.
|
inline |
Definition at line 90 of file ref_array.hpp.
|
inline |
Definition at line 96 of file ref_array.hpp.
|
inline |
Definition at line 102 of file ref_array.hpp.
|
inline |
Definition at line 109 of file ref_array.hpp.
|
private |
Definition at line 113 of file ref_array.hpp.
|
private |
Definition at line 114 of file ref_array.hpp.