libzypp 17.37.17
|
#include <zypp-core/base/PtrTypes.h>
Public Types | |
using | PtrType = shared_ptr<D> |
using | constPtrType = shared_ptr<const D> |
Public Member Functions | |
bool | unique (const constPtrType &ptr_r) |
Check whether pointer is not shared. | |
bool | unique (const PtrType &ptr_r) |
long | use_count (const constPtrType &ptr_r) const |
Return number of references. | |
long | use_count (const PtrType &ptr_r) const |
Definition at line 197 of file PtrTypes.h.
using zypp::rw_pointer::Shared< D >::PtrType = shared_ptr<D> |
Definition at line 199 of file PtrTypes.h.
using zypp::rw_pointer::Shared< D >::constPtrType = shared_ptr<const D> |
Definition at line 200 of file PtrTypes.h.
|
inline |
Check whether pointer is not shared.
Definition at line 202 of file PtrTypes.h.
|
inline |
Definition at line 204 of file PtrTypes.h.
|
inline |
Return number of references.
Definition at line 207 of file PtrTypes.h.
|
inline |
Definition at line 209 of file PtrTypes.h.