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

Types

Name

Description

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

Name

Description

DynamicUsage

DynamicUsage overloads

IncrementalDynamicUsage

IncrementalDynamicUsage overloads

Created with MrDocs