|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Nested iterator class for RefVector, based on indexing into the pointer vector. Provides semantics similar to what would be expected if std::vector<T&, N> was possible. More...
#include <ref_vector.hpp>
Public Member Functions | |
| iterator (RefVector const *vector, std::size_t pos) | |
| Constructs an iterator for a given RefVector object. | |
| T & | operator* () const |
| iterator & | operator++ () |
| iterator | operator++ (int) |
| bool | operator== (iterator const &other) const |
| bool | operator!= (iterator const &other) const |
Private Attributes | |
| RefVector const * | vector |
| std::size_t | pos |
Nested iterator class for RefVector, based on indexing into the pointer vector. Provides semantics similar to what would be expected if std::vector<T&, N> was possible.
Definition at line 73 of file ref_vector.hpp.
|
inline |
Constructs an iterator for a given RefVector object.
| vector | Pointer to the RefVector object. |
| pos | The starting position in the vector. |
Definition at line 81 of file ref_vector.hpp.
|
inline |
Definition at line 102 of file ref_vector.hpp.
|
inline |
Definition at line 86 of file ref_vector.hpp.
|
inline |
Definition at line 88 of file ref_vector.hpp.
|
inline |
Definition at line 94 of file ref_vector.hpp.
|
inline |
Definition at line 101 of file ref_vector.hpp.
|
private |
Definition at line 106 of file ref_vector.hpp.
|
private |
Definition at line 105 of file ref_vector.hpp.