IRC_SERVER
By @hyunjunk (hyunjun2372@gmail.com)
|
Weak pointer custom implementation for C++98 standard. More...
#include <WeakPtr.hpp>
Public Member Functions | |
WeakPtr () | |
WeakPtr (const SharedPtr< T > &sharedPtr) | |
WeakPtr (const WeakPtr< T > &rhs) | |
~WeakPtr () | |
WeakPtr< T > & | operator= (const WeakPtr< T > &rhs) |
WeakPtr< T > & | operator= (const SharedPtr< T > &sharedPtr) |
bool | operator== (const WeakPtr< T > &rhs) const |
bool | operator!= (const WeakPtr< T > &rhs) const |
SharedPtr< T > | Lock () const |
bool | Expired () const |
void | Reset () |
size_t | UseCount () const |
void | Swap (WeakPtr< T > &rhs) |
Private Attributes | |
detail::ControlBlock< T > * | mControlBlock |
Weak pointer custom implementation for C++98 standard.
T | Type of the object to be managed by the weak pointer. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |