API Documentation
|
Provides shared ownership of a dynamically allocated object. More...
#include <Pointer.hpp>
Public Member Functions | |
bool | isNull () const |
bool | operator!= (const Pointer< t_type > &pointer) const |
bool | operator== (const Pointer< t_type > &pointer) const |
uint04 | referenceCount () const |
void | setToNull () |
void | swap (Pointer< t_type > &pointer) |
Protected Member Functions | |
t_type & | get () const |
Pointer & | operator= (const Pointer &pointer) |
Pointer & | operator= (t_type *pointer) |
Pointer () noexcept | |
Pointer (const Pointer< t_type > &value) noexcept | |
Pointer (t_type &&value) noexcept | |
Pointer (t_type *value) noexcept | |
constexpr t_type * | rawptr () const |
void | set (t_type &&value) |
~Pointer () | |
Protected Attributes | |
PointerCore * | m_core = nullptr |
t_type * | m_object = nullptr |
Provides shared ownership of a dynamically allocated object.
Weaker overall logic (Cannot detect circular references) but faster.
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inlineconstexprprotected |
|
inlinenodiscard |
|
inlineprotected |
|
inline |
|
inline |
|
protected |
|
protected |