|
barretenberg
|
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 |
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.