kblib 0.2.3
General utilities library for modern C++
|
#include <kblib/memory.h>
Public Types | |
using | T = const mT |
using | value_type = T |
Public Member Functions | |
live_ptr ()=default | |
live_ptr (const live_ptr< T > &o)=default | |
live_ptr (const live_ptr< mT > &o) | |
live_ptr (live_ptr< T > &&o) noexcept=default | |
live_ptr (live_ptr< mT > &&o) noexcept | |
auto | operator= (const live_ptr< T > &o) -> live_ptr &=default |
auto | operator= (live_ptr< T > &&o) noexcept -> live_ptr &=default |
auto | operator= (const live_ptr< mT > &o) -> live_ptr & |
auto | operator= (live_ptr< mT > &&o) noexcept -> live_ptr & |
live_ptr (const live_wrapper< mT > &o) | |
auto | operator= (const live_wrapper< mT > &o) -> live_ptr & |
~live_ptr ()=default | |
Public Member Functions inherited from kblib::detail_memory::live_ptr_base< live_ptr< const mT > > | |
auto | operator* () noexcept -> T & |
auto | operator* () const noexcept -> const T & |
auto | operator-> () noexcept -> T * |
auto | operator-> () const noexcept -> const T * |
operator bool () const noexcept | |
live_ptr_base () noexcept=default | |
live_ptr_base (live_wrapper< mT > *p) | |
live_ptr_base (const live_ptr_base &o) | |
live_ptr_base (live_ptr_base &&o) noexcept | |
auto | operator= (const live_ptr_base &o) noexcept -> live_ptr_base & |
auto | operator= (live_ptr_base &&o) noexcept -> live_ptr_base & |
auto | operator= (const live_ptr< const mT > &o) -> live_ptr< const mT > & |
auto | operator= (live_ptr< const mT > &&o) noexcept -> live_ptr< const mT > & |
~live_ptr_base () | |
Additional Inherited Members | |
Protected Member Functions inherited from kblib::detail_memory::live_ptr_base< live_ptr< const mT > > | |
auto | add () -> void |
auto | rem () -> void |
auto | move (live_ptr< const mT > &o) -> void |
Protected Attributes inherited from kblib::detail_memory::live_ptr_base< live_ptr< const mT > > | |
live_wrapper< mT > * | obj |
using kblib::live_ptr< const mT >::T = const mT |
using kblib::live_ptr< const mT >::value_type = T |
|
default |
|
default |
|
inline |
|
defaultnoexcept |
|
inlinenoexcept |
|
inlineexplicit |
|
default |
|
inline |
|
default |
|
inline |
|
inlinenoexcept |
|
defaultnoexcept |