Random‐access iterator that lazily materializes views of a collection by index.
Synopsis
Declared in <kernel/bitcoinkernel_wrapper.h>
template<
typename Collection,
typename ValueType,
auto GetFunc>
class Iterator;
Description
Dereferencing invokes GetFunc on the collection with the current index, returning a copy (a lightweight view), so the iterator does not hold elements.
Type Aliases
Name |
Description |
Signed distance between iterators. |
|
Iterator category tag. |
|
Iterator concept tag. |
|
The element type produced on dereference. |
Member Functions
Name |
Description |
|
Constructors |
Returns the element at the current index. |
|
Returns an iterator advanced by |
|
Increment operators |
|
Advances the iterator by |
|
Subtraction operators |
|
Decrement operators |
|
Rewinds the iterator by |
|
Returns the element |
|
Tests two iterators for equality. |
|
Orders two iterators by index. |
Friends
Name |
Description |
Returns an iterator advanced by |
Created with MrDocs