Deallocate the storage of an uninitialized int‐map without destroying entries.
Synopsis
Declared in <bdld_datum.h>
static
void
disposeUninitializedIntMap(
DatumMutableIntMapRef const& intMap,
AllocatorType const& allocator);
Description
Deallocate the memory used by the specified intMap (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 createUninitializedIntMap using allocator.
Parameters
Name |
Description |
intMap |
mutable int‐map previously created uninitialized |
allocator |
memory allocator to use |
Created with MrDocs