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>

explicit
IndexClerk(bslma::Allocator* basicAllocator = 0);

Created with MrDocs