BloombergLP::bdld::Datum::disposeUninitializedMap

Deallocate the storage of an uninitialized map without destroying entries.

Synopsis

Declared in <bdld_datum.h>

static
void
disposeUninitializedMap(
    DatumMutableMapRef const& map,
    AllocatorType const& allocator);

Description

Deallocate the memory used by the specified map (but not memory allocated for its contained elements) using the specified allocator. This method does not destroy individual map elements and the memory allocated for those elements must be explicitly deallocated before calling this method. The behavior is undefined unless map was created with createUninitializedMap using allocator.

Parameters

NameDescription
mapmutable map previously created uninitialized
allocatormemory allocator to use