[#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 `<bdlc_indexclerk.h>` Create a new index clerk that dispenses consecutive non‐negative integers beginning with `0, 1, 2, ...`; however, indices returned via `putIndex` will be reissued before any new ones are created. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [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..._]# Create a new index clerk having the value of the specified `original` index clerk. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#