[#BloombergLP-bdld-Datum-disposeUninitializedMap-05b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::disposeUninitializedMap :relfileprefix: ../../../ :mrdocs: Deallocate the storage of an uninitialized map without destroying entries. == Synopsis Declared in `<bdld_datum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void disposeUninitializedMap( xref:BloombergLP/bdld/DatumMutableMapRef.adoc[DatumMutableMapRef] const& map, xref:BloombergLP/bdld/Datum/AllocatorType.adoc[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 [cols="1,4"] |=== | Name| Description | *map* | mutable map previously created uninitialized | *allocator* | memory allocator to use |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#