|
Shaka Player Embedded
|
#include <ref_ptr.h>
Public Member Functions | |
| RefPtr () | |
| RefPtr (std::nullptr_t) | |
| template<typename U > | |
| RefPtr (U *other) | |
| RefPtr (const RefPtr &other) | |
| template<typename U > | |
| RefPtr (const RefPtr< U > &other) | |
| RefPtr (RefPtr &&other) | |
| template<typename U > | |
| RefPtr (RefPtr< U > &&other) | |
| ~RefPtr () | |
| template<typename U > | |
| RefPtr (const Member< U > &other) | |
| template<typename U > | |
| RefPtr (Member< U > &&other) | |
| RefPtr & | operator= (const RefPtr &other) |
| RefPtr & | operator= (RefPtr &&other) |
| T & | operator* () const |
| T * | operator-> () const |
| operator T* () const | |
| bool | empty () const |
| T * | get () const |
| template<typename U = T> | |
| void | reset (U *other=nullptr) |
Static Public Member Functions | |
| static std::string | name () |
Friends | |
| template<typename U > | |
| class | RefPtr |
Defines a smart pointer that performs ref counting on the value that is stored.
Note that when an argument is of type RefPtr<T>, it can be empty; this means the argument is either |null| or |undefined|. Returning an empty RefPtr means returning |null|.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.13