Dynamic memory used by an unordered_map's nodes and bucket array.

Synopsis

Declared in <memusage.h>

template<
    typename X,
    typename Y,
    typename Z>
static
size_t
DynamicUsage(std::unordered_map<X, Y, Z> const& m);

Return Value

The bytes allocated for the nodes plus the bucket array.

Parameters

Name

Description

m

The unordered_map to measure.

Created with MrDocs