memusage

Helpers for estimating the dynamic memory usage of common data structures.

Types

NameDescription
list_node Layout model of a doubly linked list node, used to size std::list.
stl_shared_counter Layout model of the control block shared by shared_ptr/weak_ptr, used for sizing.
stl_tree_node Layout model of a libstdc++ red-black tree node, used to size STL containers.
unordered_node Layout model of an unordered container node, used to size hashed containers.

Functions

NameDescription
DynamicUsage DynamicUsage overloads
IncrementalDynamicUsage IncrementalDynamicUsage overloads