Audacity 3.2.0
|
#include <MemoryX.h>
Public Member Functions | |
void | reset (T *p=nullptr) |
template<typename... Args> | |
void | emplace (Args &&... args) |
reset to a pointer to a new object with given ctor arguments More... | |
~AtomicUniquePointer () | |
Atomic unique pointer (for nonarray type only) with a destructor; It doesn't copy or move
|
inline |
Definition at line 360 of file MemoryX.h.
References AtomicUniquePointer< T >::reset().
|
inline |
reset to a pointer to a new object with given ctor arguments
Definition at line 357 of file MemoryX.h.
References AtomicUniquePointer< T >::reset(), and safenew.
|
inline |
Reassign the pointer with release ordering, then destroy any previously held object
Like std::unique_ptr
, does not check for reassignment of the same pointer
Definition at line 353 of file MemoryX.h.
Referenced by AtomicUniquePointer< T >::emplace(), and AtomicUniquePointer< T >::~AtomicUniquePointer().