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
Name |
Description |
map |
mutable map previously created uninitialized |
allocator |
memory allocator to use |
Created with MrDocs