#include <ref_counted_ptr.h>
Public Member Functions | |
| T * | get () const |
| template<typename Y > | |
| bool | operator!= (const RefCountedPtr< Y > &other) const |
| template<typename Y > | |
| bool | operator!= (const Y *other) const |
| bool | operator!= (std::nullptr_t) const |
| T & | operator* () const |
| T * | operator-> () const |
| RefCountedPtr & | operator= (const RefCountedPtr &other) |
| template<typename Y > | |
| RefCountedPtr & | operator= (const RefCountedPtr< Y > &other) |
| RefCountedPtr & | operator= (RefCountedPtr &&other) noexcept |
| template<typename Y > | |
| RefCountedPtr & | operator= (RefCountedPtr< Y > &&other) noexcept |
| template<typename Y > | |
| bool | operator== (const RefCountedPtr< Y > &other) const |
| template<typename Y > | |
| bool | operator== (const Y *other) const |
| bool | operator== (std::nullptr_t) const |
| RefCountedPtr () | |
| RefCountedPtr (const RefCountedPtr &other) | |
| template<typename Y > | |
| RefCountedPtr (const RefCountedPtr< Y > &other) | |
| RefCountedPtr (RefCountedPtr &&other) noexcept | |
| template<typename Y > | |
| RefCountedPtr (RefCountedPtr< Y > &&other) noexcept | |
| RefCountedPtr (std::nullptr_t) | |
| template<typename Y > | |
| RefCountedPtr (Y *value) | |
| T * | release () |
| void | reset (const DebugLocation &location, const char *reason, T *value=nullptr) |
| template<typename Y > | |
| void | reset (const DebugLocation &location, const char *reason, Y *value=nullptr) |
| void | reset (T *value=nullptr) |
| template<typename Y > | |
| void | reset (Y *value=nullptr) |
| void | swap (RefCountedPtr &other) |
| ~RefCountedPtr () | |
Private Attributes | |
| T * | value_ = nullptr |
Friends | |
| template<typename Y > | |
| class | RefCountedPtr |
Definition at line 35 of file ref_counted_ptr.h.
|
inline |
Definition at line 37 of file ref_counted_ptr.h.
|
inline |
Definition at line 39 of file ref_counted_ptr.h.
|
inlineexplicit |
Definition at line 43 of file ref_counted_ptr.h.
|
inlinenoexcept |
Definition at line 46 of file ref_counted_ptr.h.
|
inlinenoexcept |
Definition at line 52 of file ref_counted_ptr.h.
|
inline |
Definition at line 71 of file ref_counted_ptr.h.
|
inline |
Definition at line 77 of file ref_counted_ptr.h.
|
inline |
Definition at line 104 of file ref_counted_ptr.h.
|
inline |
Definition at line 146 of file ref_counted_ptr.h.
|
inline |
Definition at line 164 of file ref_counted_ptr.h.
|
inline |
Definition at line 169 of file ref_counted_ptr.h.
|
inline |
Definition at line 173 of file ref_counted_ptr.h.
|
inline |
Definition at line 148 of file ref_counted_ptr.h.
|
inline |
Definition at line 149 of file ref_counted_ptr.h.
|
inline |
Definition at line 86 of file ref_counted_ptr.h.
|
inline |
Definition at line 94 of file ref_counted_ptr.h.
|
inlinenoexcept |
Definition at line 58 of file ref_counted_ptr.h.
|
inlinenoexcept |
Definition at line 64 of file ref_counted_ptr.h.
|
inline |
Definition at line 152 of file ref_counted_ptr.h.
|
inline |
Definition at line 157 of file ref_counted_ptr.h.
|
inline |
Definition at line 161 of file ref_counted_ptr.h.
|
inline |
Definition at line 140 of file ref_counted_ptr.h.
|
inline |
Definition at line 115 of file ref_counted_ptr.h.
|
inline |
Definition at line 128 of file ref_counted_ptr.h.
|
inline |
Definition at line 111 of file ref_counted_ptr.h.
|
inline |
Definition at line 121 of file ref_counted_ptr.h.
|
inline |
Definition at line 108 of file ref_counted_ptr.h.
Definition at line 177 of file ref_counted_ptr.h.
|
private |
Definition at line 179 of file ref_counted_ptr.h.