Constructors

Synopses

Declared in <bdlc_indexclerk.h>

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

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

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

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

Parameters

Name

Description

basicAllocator

memory allocator; null uses the default

original

index clerk providing the value to copy

Created with MrDocs