mn_clone_ptr.hpp
Go to the documentation of this file.
60 template<typename T, class TCloner = basic_default_clone<T>, class TDeleter = memory::default_delete<T> >
125 basic_clone_ptr(const value_type& value, const cloner_type& cloner, const deleter_type& deleter )
128 basic_clone_ptr(const value_type&& value, const cloner_type&& cloner, const deleter_type&& deleter )
171 template<typename T, class TCloner = basic_default_clone<T>, class TDeleter = memory::default_delete<T> >
172 inline void swap(basic_clone_ptr<T, TCloner, TDeleter>& a, basic_clone_ptr<T, TCloner, TDeleter>& b ) {
176 template<typename T, class TCloner = basic_default_clone<T>, class TDeleter = memory::default_delete<T> >
Definition: mn_initializer_list.hpp:26
Definition: mn_clone_ptr.hpp:61
basic_clone_ptr(const value_type &&value)
Definition: mn_clone_ptr.hpp:108
cloner_type & get_cloner() noexcept
Definition: mn_clone_ptr.hpp:139
basic_clone_ptr(Args &&... args)
Definition: mn_clone_ptr.hpp:112
basic_clone_ptr(const value_type &&value, const cloner_type &&cloner, const deleter_type &&deleter)
Definition: mn_clone_ptr.hpp:128
basic_clone_ptr(const value_type &value, const cloner_type &cloner)
Definition: mn_clone_ptr.hpp:119
basic_clone_ptr(const value_type &&value, const cloner_type &&cloner)
Definition: mn_clone_ptr.hpp:122
basic_clone_ptr(mn::initializer_list< U > il, Args &&... args)
Definition: mn_clone_ptr.hpp:116
basic_clone_ptr(const self_type &&other)
Definition: mn_clone_ptr.hpp:100
basic_clone_ptr(const value_type &value)
Definition: mn_clone_ptr.hpp:105
void swap(self_type &other) noexcept
Definition: mn_clone_ptr.hpp:164
basic_clone_ptr(const cloner_type &&cloner)
Definition: mn_clone_ptr.hpp:86
basic_clone_ptr(const cloner_type &cloner)
Definition: mn_clone_ptr.hpp:77
basic_clone_ptr(const value_type &value, const cloner_type &cloner, const deleter_type &deleter)
Definition: mn_clone_ptr.hpp:125
basic_clone_ptr(const deleter_type &&deleter)
Definition: mn_clone_ptr.hpp:89
basic_clone_ptr() noexcept
Definition: mn_clone_ptr.hpp:71
basic_clone_ptr(const self_type &other)
Definition: mn_clone_ptr.hpp:95
basic_clone_ptr(const cloner_type &cloner, const deleter_type &deleter)
Definition: mn_clone_ptr.hpp:83
basic_clone_ptr(const deleter_type &deleter)
Definition: mn_clone_ptr.hpp:80
deleter_type & get_deleter() noexcept
Definition: mn_clone_ptr.hpp:140
basic_clone_ptr(const cloner_type &&cloner, const deleter_type &&deleter)
Definition: mn_clone_ptr.hpp:92
basic_clone_ptr(pointer p) noexcept
Definition: mn_clone_ptr.hpp:74
struct mn::memory::detail::ptr_difference T
Definition: mn_atomic_singleton.hpp:38
clone_ptr< T > make_clone(Args &&... args)
Make a clone pointer.
Definition: mn_clone_ptr.hpp:188
void swap(basic_auto_ptr< T > &a, basic_auto_ptr< T > &b)
Definition: mn_auto_ptr.hpp:188
Definition: mn_allocator_typetraits.hpp:25
Definition: mn_typetraits.hpp:300
Definition: mn_clone_ptr.hpp:33
pointer operator()(Args &&... args) const
Definition: mn_clone_ptr.hpp:51
const T & const_reference
Definition: mn_clone_ptr.hpp:38
basic_default_clone()=default
pointer operator()(T &&x) const
Definition: mn_clone_ptr.hpp:47
pointer operator()(mn::initializer_list< U > il, Args &&... args) const
Definition: mn_clone_ptr.hpp:55
pointer operator()(const_reference x) const
Definition: mn_clone_ptr.hpp:42