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

Synopsis

Declared in <memusage.h>

template<
    typename X,
    typename Y>
static
size_t
DynamicUsage(std::unordered_set<X, Y> const& s);

Return Value

The bytes allocated for the nodes plus the bucket array.

Parameters

Name

Description

s

The unordered_set to measure.

Created with MrDocs