memusage::DynamicUsage

Dynamic memory used by a map's tree nodes.

Synopsis

Declared in <memusage.h>

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

Return Value

The bytes allocated for all of the map's nodes.

Parameters

NameDescription
mThe map to measure.