[#BloombergLP-bdlc-IndexClerk-2constructor-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk]::IndexClerk :relfileprefix: ../../../ :mrdocs: Create an index clerk having the same value as the specified `original`. == Synopsis Declared in `<bdlc_indexclerk.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- IndexClerk( xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Description 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. == Parameters [cols="1,4"] |=== | Name| Description | *original* | index clerk providing the value to copy | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#