Defines a range accessor method method_name over the given size and get functions.
Declared in <kernel/bitcoinkernel_wrapper.h>
#define MAKE_RANGE_METHOD(method_name, ContainerType, SizeFunc, GetFunc, container_expr)
Emits an lvalue-only overload returning a Range and deletes the rvalue overload so the range never dangles past a temporary.
| Name | Description |
|---|---|
| method_name | The name of the accessor method to generate. |
| ContainerType | The container type the range iterates over. |
| SizeFunc | The member function pointer returning the element count. |
| GetFunc | The member function pointer returning an element by index. |
| container_expr | The expression yielding the container instance to view. |