Read‐only random‐access view over an indexed C‐handle collection.
Synopsis
Declared in <kernel/bitcoinkernel_wrapper.h>
class Range;
Description
Adapts a container that exposes SizeFunc and GetFunc into a standard range whose elements are lazily produced views.
Type Aliases
Name |
Description |
Const iterator alias (same as iterator). |
|
Signed distance between iterators. |
|
The range's iterator type. |
|
The element type produced by the accessor. |
Member Functions
Name |
Description |
|
Constructs a range viewing |
Returns the element at |
|
Returns the last element. |
|
Returns an iterator to the first element. |
|
Returns a const iterator to the first element. |
|
Returns a const iterator past the last element. |
|
Reports whether the range holds no elements. |
|
Returns an iterator past the last element. |
|
Returns the first element. |
|
Returns the element at |
|
Returns the number of elements in the range. |
Created with MrDocs