[#memusage-DynamicUsage-01] = xref:memusage.adoc[memusage]::DynamicUsage :relfileprefix: ../ :mrdocs: Dynamic memory used by a pool‐allocated unordered_map, including the pool resource. == Synopsis Declared in `<memusage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class Key, class T, class Hash, class Pred, std::size_t MAX_BLOCK_SIZE_BYTES, std::size_t ALIGN_BYTES> static size_t DynamicUsage(std::unordered_map<Key, T, Hash, Pred, PoolAllocator<std::pair<Key const, T>, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES>> const& m); ---- == Return Value The bytes allocated for the pool chunks plus the bucket array. == Parameters [cols="1,4"] |=== | Name| Description | *m* | The pool‐allocated unordered_map to measure. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#