Deallocate the storage of an uninitialized map without destroying entries.
Declared in <bdld_datum.h>
static
void
disposeUninitializedMap(
DatumMutableMapRef const& map,
AllocatorType const& allocator);
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.
| Name | Description |
|---|---|
| map | mutable map previously created uninitialized |
| allocator | memory allocator to use |