bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
|
#include <XAutoPtr.h>
Public Member Functions | |
constexpr | C_AutoNode () noexcept |
constexpr | C_AutoNode (T *p, bool owned) noexcept |
C_AutoNode (C_AutoNode &another) noexcept | |
template<class T2 > | |
C_AutoNode (C_AutoNode< T2 > &another) noexcept | |
~C_AutoNode () | |
void | operator= (C_AutoNode &another) |
template<class T2 > | |
void | operator= (C_AutoNode< T2 > &another) |
operator bool () const noexcept | |
template<class T2 > | |
operator T2 * () const noexcept | |
T * | operator-> () const noexcept |
T ** | operator& () noexcept |
T & | operator* () const noexcept |
void | assign (T *ptr, bool owned) |
void | reset (T *ptr) noexcept |
void | clear () noexcept |
T * | disown () noexcept |
T * | get () const noexcept |
bool | owned () const noexcept |
void | swap (C_AutoNode &another) noexcept |
template<class T2 > | |
bool | takeOver (C_AutoNode< T2 > &another) |
Friends | |
template<class T2 > | |
class | C_AutoNode |
Definition at line 12 of file XAutoPtr.h.
|
inlineconstexprnoexcept |
Definition at line 17 of file XAutoPtr.h.
|
inlineconstexprnoexcept |
Definition at line 18 of file XAutoPtr.h.
|
inlineexplicitnoexcept |
Definition at line 19 of file XAutoPtr.h.
|
inlineexplicitnoexcept |
Definition at line 22 of file XAutoPtr.h.
bux::C_AutoNode< T >::~C_AutoNode | ( | ) |
Definition at line 72 of file XAutoPtr.h.
void bux::C_AutoNode< T >::assign | ( | T * | ptr, |
bool | owned ) |
Definition at line 94 of file XAutoPtr.h.
Referenced by bux::C_AutoNode< T >::clear(), bux::C_AutoNode< T >::operator&(), and bux::C_AutoNode< T >::reset().
|
inlinenoexcept |
Definition at line 36 of file XAutoPtr.h.
References bux::C_AutoNode< T >::assign().
|
noexcept |
Definition at line 101 of file XAutoPtr.h.
|
inlinenoexcept |
Definition at line 38 of file XAutoPtr.h.
Referenced by bux::C_AutoNode< T >::takeOver().
|
inlinenoexcept |
Definition at line 28 of file XAutoPtr.h.
Definition at line 30 of file XAutoPtr.h.
|
inlinenoexcept |
Definition at line 32 of file XAutoPtr.h.
References bux::C_AutoNode< T >::assign().
|
inlinenoexcept |
Definition at line 33 of file XAutoPtr.h.
|
inlinenoexcept |
Definition at line 31 of file XAutoPtr.h.
void bux::C_AutoNode< T >::operator= | ( | C_AutoNode< T > & | another | ) |
Definition at line 79 of file XAutoPtr.h.
void bux::C_AutoNode< T >::operator= | ( | C_AutoNode< T2 > & | another | ) |
Definition at line 87 of file XAutoPtr.h.
|
inlinenoexcept |
Definition at line 39 of file XAutoPtr.h.
|
inlinenoexcept |
Definition at line 35 of file XAutoPtr.h.
References bux::C_AutoNode< T >::assign().
|
noexcept |
Definition at line 112 of file XAutoPtr.h.
bool bux::C_AutoNode< T >::takeOver | ( | C_AutoNode< T2 > & | another | ) |
Definition at line 125 of file XAutoPtr.h.
References bux::C_AutoNode< T >::get().
Definition at line 51 of file XAutoPtr.h.