[#btck-Iterator-2constructor-0dc]
= xref:btck.adoc[btck]::xref:btck/Iterator.adoc[Iterator]::Iterator
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

Constructs a singular (past&hyphen;the&hyphen;end sentinel) iterator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:btck/Iterator/2constructor-0d3.adoc[Iterator]() = default;
----

[.small]#xref:btck/Iterator/2constructor-0d3.adoc[_» more&period;&period;&period;_]#

Constructs an iterator to the first element of `ptr&period;`


[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&period;&period;&period;_]#

Constructs an iterator to a specific index of `ptr&period;`


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:btck/Iterator/2constructor-0b.adoc[Iterator](
    Collection const* ptr,
    size&lowbar;t idx);
----

[.small]#xref:btck/Iterator/2constructor-0b.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ptr*
| The collection to iterate over&period;
| *idx*
| The starting index&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
