[#RecursiveDynamicUsage] = RecursiveDynamicUsage :mrdocs: Recursively measure the dynamic memory used by the pointee of a shared pointer. == Synopsis Declared in `<core_memusage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename X> static size_t RecursiveDynamicUsage(std::shared_ptr<X> const& p); ---- == Return Value The number of bytes of dynamically allocated memory, or 0 when the pointer is null. == Parameters [cols="1,4"] |=== | Name| Description | *p* | Shared pointer whose control block, pointee, and nested allocations are measured. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#