[#BloombergLP-bdlc-IndexClerk-2constructor-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk]::IndexClerk :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bdlc_indexclerk.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit IndexClerk(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#