#include <ref_counted_ptr.h>
Public Member Functions | |
T * | get () const |
template<typename Y > | |
bool | operator!= (const WeakRefCountedPtr< Y > &other) const |
template<typename Y > | |
bool | operator!= (const Y *other) const |
bool | operator!= (std::nullptr_t) const |
T & | operator* () const |
T * | operator-> () const |
WeakRefCountedPtr & | operator= (const WeakRefCountedPtr &other) |
template<typename Y > | |
WeakRefCountedPtr & | operator= (const WeakRefCountedPtr< Y > &other) |
WeakRefCountedPtr & | operator= (WeakRefCountedPtr &&other) noexcept |
template<typename Y > | |
WeakRefCountedPtr & | operator= (WeakRefCountedPtr< Y > &&other) noexcept |
template<typename Y > | |
bool | operator== (const WeakRefCountedPtr< Y > &other) const |
template<typename Y > | |
bool | operator== (const Y *other) const |
bool | operator== (std::nullptr_t) const |
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 (WeakRefCountedPtr &other) |
WeakRefCountedPtr () | |
WeakRefCountedPtr (const WeakRefCountedPtr &other) | |
template<typename Y > | |
WeakRefCountedPtr (const WeakRefCountedPtr< Y > &other) | |
WeakRefCountedPtr (std::nullptr_t) | |
WeakRefCountedPtr (WeakRefCountedPtr &&other) noexcept | |
template<typename Y > | |
WeakRefCountedPtr (WeakRefCountedPtr< Y > &&other) noexcept | |
template<typename Y > | |
WeakRefCountedPtr (Y *value) | |
~WeakRefCountedPtr () | |
Private Attributes | |
T * | value_ = nullptr |
Friends | |
template<typename Y > | |
class | WeakRefCountedPtr |
Definition at line 185 of file ref_counted_ptr.h.
|
inline |
Definition at line 187 of file ref_counted_ptr.h.
|
inline |
Definition at line 189 of file ref_counted_ptr.h.
|
inlineexplicit |
Definition at line 193 of file ref_counted_ptr.h.
|
inlinenoexcept |
Definition at line 198 of file ref_counted_ptr.h.
|
inlinenoexcept |
Definition at line 204 of file ref_counted_ptr.h.
|
inline |
Definition at line 223 of file ref_counted_ptr.h.
|
inline |
Definition at line 229 of file ref_counted_ptr.h.
|
inline |
Definition at line 256 of file ref_counted_ptr.h.
|
inline |
Definition at line 298 of file ref_counted_ptr.h.
|
inline |
Definition at line 316 of file ref_counted_ptr.h.
|
inline |
Definition at line 321 of file ref_counted_ptr.h.
|
inline |
Definition at line 325 of file ref_counted_ptr.h.
|
inline |
Definition at line 300 of file ref_counted_ptr.h.
|
inline |
Definition at line 301 of file ref_counted_ptr.h.
|
inline |
Definition at line 238 of file ref_counted_ptr.h.
|
inline |
Definition at line 246 of file ref_counted_ptr.h.
|
inlinenoexcept |
Definition at line 210 of file ref_counted_ptr.h.
|
inlinenoexcept |
Definition at line 216 of file ref_counted_ptr.h.
|
inline |
Definition at line 304 of file ref_counted_ptr.h.
|
inline |
Definition at line 309 of file ref_counted_ptr.h.
|
inline |
Definition at line 313 of file ref_counted_ptr.h.
|
inline |
Definition at line 292 of file ref_counted_ptr.h.
|
inline |
Definition at line 267 of file ref_counted_ptr.h.
|
inline |
Definition at line 280 of file ref_counted_ptr.h.
|
inline |
Definition at line 263 of file ref_counted_ptr.h.
|
inline |
Definition at line 273 of file ref_counted_ptr.h.
|
inline |
Definition at line 260 of file ref_counted_ptr.h.
Definition at line 329 of file ref_counted_ptr.h.
|
private |
Definition at line 331 of file ref_counted_ptr.h.