Statements (18)
Predicate | Object |
---|---|
gptkbp:instanceOf |
C++ class
|
gptkbp:affiliatedWith |
gptkb:C++_Standard_Library
|
gptkbp:can_be |
constructed from a raw pointer
converted to std::weak_ptr copied to create another shared pointer reset to manage a different object used to manage arrays with std::shared_ptr<T[]> used with custom deleters used_in_STL_containers |
gptkbp:has_a |
use_count method
|
gptkbp:is |
a template class
part of the RAII idiom |
gptkbp:is_a |
smart pointer
|
gptkbp:is_recognized_for |
<memory> header
|
gptkbp:provides |
shared ownership of an object
|
gptkbp:requires |
a type that is copyable
|
gptkbp:security |
for concurrent access
|
gptkbp:suitableFor |
a replacement for std::auto_ptr
|