[#memusage-stl_shared_counter] = xref:memusage.adoc[memusage]::stl_shared_counter :relfileprefix: ../ :mrdocs: Layout model of the control block shared by shared_ptr/weak_ptr, used for sizing. == Synopsis Declared in `<memusage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct stl_shared_counter; ---- == Data Members [cols="1,4"] |=== | Name| Description | xref:memusage/stl_shared_counter/class_type.adoc[`class_type`] | Pointer to the type/vtable information of the control block. | xref:memusage/stl_shared_counter/use_count.adoc[`use_count`] | Number of shared_ptr references. | xref:memusage/stl_shared_counter/weak_count.adoc[`weak_count`] | Number of weak_ptr references. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#