Dynamic memory owned by a shared_ptr, including its control block.
Declared in <memusage.h>
template<typename X>
static
size_t
DynamicUsage(std::shared_ptr<X> const& p);
The bytes allocated for the pointee and control block, or 0 if empty.
| Name | Description |
|---|---|
| p | The shared_ptr to measure. |