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