Dynamic memory used by a pool-allocated unordered_map, including the pool resource.
Declared in <memusage.h>
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);
The bytes allocated for the pool chunks plus the bucket array.
| Name | Description |
|---|---|
| m | The pool-allocated unordered_map to measure. |