BloombergLP::bdlc::IndexClerk::IndexClerk

Constructors

Synopses

Declared in <bdlc_indexclerk.h>

Create an index clerk that dispenses consecutive non-negative indices.

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

Create an index clerk having the same value as the specified original.

IndexClerk(
    IndexClerk const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default
originalindex clerk providing the value to copy