#include <ptr.h>
Public Member Functions | |
WeakPtr () | |
WeakPtr (const Ptr< T > &ptr) | |
template<typename U> | |
WeakPtr (const Ptr< U > &ptr) | |
WeakPtr (const WeakPtr &other) | |
template<typename U> | |
WeakPtr (const WeakPtr< U > &other) | |
WeakPtr (WeakPtr &&other) noexcept | |
~WeakPtr () | |
bool | expired () const |
Ptr< T > | lock () const |
operator bool () const | |
bool | operator! () const |
bool | operator!= (const T *other) const |
bool | operator!= (const WeakPtr &other) const |
WeakPtr & | operator= (const WeakPtr &other) |
bool | operator== (const Ptr< T > &other) const |
bool | operator== (const T *other) const |
bool | operator== (const WeakPtr &other) const |
bool | operator== (T *other) const |
void | reset () |
Public Attributes | |
Ptr< WeakReferent > | mWeakPtr |