[#MAKE_RANGE_METHOD] = MAKE_RANGE_METHOD :mrdocs: Defines a range accessor method `method_name` over the given size and get functions. == Synopsis Declared in `<kernel/bitcoinkernel_wrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- #define MAKE_RANGE_METHOD(method_name, ContainerType, SizeFunc, GetFunc, container_expr) ---- == Description Emits an lvalue‐only overload returning a Range and deletes the rvalue overload so the range never dangles past a temporary. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#