Glossary: C++ Beyond the Basics
Reference count
Also written: use_count
How many `std::shared_ptr`s point at one object. Copying adds one, destroying takes one away, and the object is deleted at zero.
Glossary: C++ Beyond the Basics
Also written: use_count
How many `std::shared_ptr`s point at one object. Copying adds one, destroying takes one away, and the object is deleted at zero.