[#BloombergLP-bdlc-IndexClerk-2constructor-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk]::IndexClerk
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bdlc&lowbar;indexclerk&period;h&gt;`

Create an index clerk that dispenses consecutive non&hyphen;negative indices&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlc/IndexClerk/2constructor-0c.adoc[IndexClerk](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlc/IndexClerk/2constructor-0c.adoc[_» more&period;&period;&period;_]#

Create an index clerk having the same value as the specified `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/IndexClerk/2constructor-04.adoc[IndexClerk](
    xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlc/IndexClerk/2constructor-04.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
| *original*
| index clerk providing the value to copy
|===


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