Generic allocator interfaces that can be injected into routines that need dynamic memory.
These include Allocator
, as well as the Layout
type that is passed to it and the managed smart pointer types, such as UniquePtr
, that can be returned from it.
Classes | |
class | pw::Allocator |
class | pw::allocator::Layout |
class | pw::allocator::Pool |
class | pw::WeakPtr< T > |
class | pw::BasicMultiBuf< kProperties > |
class | pw::SharedPtr< T > |
class | pw::UniquePtr< T > |
Functions | |
bool | pw::allocator::operator== (const Layout &lhs, const Layout &rhs) |
bool | pw::allocator::operator!= (const Layout &lhs, const Layout &rhs) |
template<typename U > | |
WeakPtr< T > & | pw::WeakPtr< T >::operator= (const WeakPtr< U > &other) noexcept |
template<typename U > | |
WeakPtr< T > & | pw::WeakPtr< T >::operator= (const SharedPtr< U > &other) noexcept |
template<typename U > | |
WeakPtr< T > & | pw::WeakPtr< T >::operator= (WeakPtr< U > &&other) noexcept |
void | pw::WeakPtr< T >::reset () noexcept |
SharedPtr< T > | pw::WeakPtr< T >::Lock () const noexcept |
|
noexcept |
|
noexcept |
Resets this object to an empty state.
If this is the last shared or weak pointer associated with the control block, it is deallocated.