Dynamic memory owned by a unique_ptr.

Synopsis

Declared in <memusage.h>

template<typename X>
static
size_t
DynamicUsage(std::unique_ptr<X> const& p);

Return Value

The bytes allocated for the pointee, or 0 if empty.

Parameters

Name

Description

p

The unique_ptr to measure.

Created with MrDocs