Represents a shared ownership smart pointer. Keeps count of references to the underlying pointer and deletes it when the last shared pointer goes out of scope.
T |
public nothrow | SharedPtr() |
public nothrow | SharedPtr(SharedPtr&& that) |
public explicit nothrow | SharedPtr(T* ptr_) |
public nothrow | SharedPtr(T* ptr_, const SharedCount<T>& count_) |
public nothrow | SharedPtr(const SharedPtr& that) |
public nothrow | SharedPtr(const WeakPtr<T>& that) |
public inline nothrow T* | Get() const |
public inline nothrow const SharedCount<T>& | GetCount() const |
public inline nothrow T* | GetPtr() const |
public nothrow int | GetUseCount() const |
public inline nothrow bool | IsNull() const |
public nothrow bool | IsUnique() const |
public nothrow void | Reset() |
public nothrow void | Reset(T* ptr_) |
public nothrow void | Swap(SharedPtr& that) |
public inline T& | operator*() const |
public inline T* | operator->() const |
public nothrow void | operator=(SharedPtr&& that) |
public nothrow void | operator=(const SharedPtr& that) |
private typedef CountType | SharedCount<T> |
private typedef Self | SharedPtr |
private SharedCount<T> | count |
private T* | ptr |