[#btck-Iterator-2constructor-0dc] = xref:btck.adoc[btck]::xref:btck/Iterator.adoc[Iterator]::Iterator :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<kernel/bitcoinkernel_wrapper.h>` Constructs a singular (past‐the‐end sentinel) iterator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:btck/Iterator/2constructor-0d3.adoc[Iterator]() = default; ---- [.small]#xref:btck/Iterator/2constructor-0d3.adoc[_» more..._]# Constructs an iterator to the first element of `ptr.` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:btck/Iterator/2constructor-09.adoc[Iterator](Collection const* ptr); ---- [.small]#xref:btck/Iterator/2constructor-09.adoc[_» more..._]# Constructs an iterator to a specific index of `ptr.` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:btck/Iterator/2constructor-0b.adoc[Iterator]( Collection const* ptr, size_t idx); ---- [.small]#xref:btck/Iterator/2constructor-0b.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *ptr* | The collection to iterate over. | *idx* | The starting index. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#