Layout model of the control block shared by shared_ptr/weak_ptr, used for sizing.

Synopsis

Declared in <memusage.h>

struct stl_shared_counter;

Data Members

Name

Description

class_type

Pointer to the type/vtable information of the control block.

use_count

Number of shared_ptr references.

weak_count

Number of weak_ptr references.

Created with MrDocs