mn_auto_ptr.hpp
Go to the documentation of this file.
AutoPtr is a "smart" pointer for classes implementing reference counting based garbage collection.
Definition: mn_auto_ptr.hpp:35
basic_auto_ptr(basic_auto_ptr &&other) noexcept
Definition: mn_auto_ptr.hpp:52
basic_auto_ptr(const basic_auto_ptr< TO > &other)
Definition: mn_auto_ptr.hpp:56
basic_auto_ptr(pointer ptr)
Definition: mn_auto_ptr.hpp:46
bool operator==(const self_type &other) const
Definition: mn_auto_ptr.hpp:92
self_type & assign(const basic_auto_ptr< TO > &other)
Definition: mn_auto_ptr.hpp:173
self_type & assign(pointer other, bool shared)
Definition: mn_auto_ptr.hpp:152
const value_type const_value_type
Definition: mn_auto_ptr.hpp:39
void reset(const basic_auto_ptr< TO > &p)
Definition: mn_auto_ptr.hpp:62
bool operator<(const self_type &other) const
Definition: mn_auto_ptr.hpp:116
bool operator>(const self_type &other) const
Definition: mn_auto_ptr.hpp:122
basic_auto_ptr(pointer ptr, bool shared)
Definition: mn_auto_ptr.hpp:48
void reset(pointer ptr, bool shared)
Definition: mn_auto_ptr.hpp:65
bool operator<=(const self_type &other) const
Definition: mn_auto_ptr.hpp:104
self_type & operator=(const basic_auto_ptr< TO > &ptr)
Definition: mn_auto_ptr.hpp:81
basic_auto_ptr< TO > dycast() const
Definition: mn_auto_ptr.hpp:130
bool operator>=(const self_type &other) const
Definition: mn_auto_ptr.hpp:110
self_type & assign(const self_type &other)
Definition: mn_auto_ptr.hpp:162
basic_auto_ptr(const self_type &other)
Definition: mn_auto_ptr.hpp:50
bool operator!=(const self_type &other) const
Definition: mn_auto_ptr.hpp:98
struct mn::memory::detail::ptr_difference T
Definition: mn_atomic_singleton.hpp:38
auto_ptr< T > make_auto(Args &&... args)
Make a auto pointer.
Definition: mn_auto_ptr.hpp:201
void swap(basic_auto_ptr< T > &a, basic_auto_ptr< T > &b)
Definition: mn_auto_ptr.hpp:188
Definition: mn_allocator_typetraits.hpp:25