#include <clone_ptr.h>
Public Member Functions | |
template<typename... Args> | |
clone_ptr (Args &&...args) noexcept | |
clone_ptr (clone_ptr const &rh) | |
clone_ptr (clone_ptr &&rh) noexcept | |
template<typename U > | |
clone_ptr (clone_ptr< U > &&rh) noexcept | |
template<typename U > | |
clone_ptr (clone_ptr< U > const &rh) | |
clone_ptr & | operator= (clone_ptr &&rh) noexcept |
clone_ptr & | operator= (clone_ptr const &rh) |
template<typename U > | |
clone_ptr & | operator= (clone_ptr< U > const &rh) |
template<typename U > | |
clone_ptr & | operator= (clone_ptr< U > &&rh) noexcept |
Definition at line 12 of file clone_ptr.h.
extstd::clone_ptr< T >::clone_ptr | ( | Args &&... | args | ) | [inline, explicit] |
Definition at line 15 of file clone_ptr.h.
: std::unique_ptr<T>(std::forward<Args>(args)...){}
extstd::clone_ptr< T >::clone_ptr | ( | clone_ptr< T > const & | rh | ) | [inline] |
Definition at line 17 of file clone_ptr.h.
: std::unique_ptr<T>(rh? rh->clone() : nullptr){}
extstd::clone_ptr< T >::clone_ptr | ( | clone_ptr< T > && | rh | ) | [inline] |
Definition at line 18 of file clone_ptr.h.
: std::unique_ptr<T>(std::move(rh)) {}
extstd::clone_ptr< T >::clone_ptr | ( | clone_ptr< U > const & | rh | ) | [inline] |
Definition at line 31 of file clone_ptr.h.
: std::unique_ptr<T>(rh ? rh->clone() : nullptr){}
extstd::clone_ptr< T >::clone_ptr | ( | clone_ptr< U > && | rh | ) | [inline] |
Definition at line 33 of file clone_ptr.h.
: std::unique_ptr<T>(std::move(rh)) {}
clone_ptr& extstd::clone_ptr< T >::operator= | ( | clone_ptr< T > const & | rh | ) | [inline] |
Definition at line 20 of file clone_ptr.h.
Referenced by extstd::clone_ptr< Bounds >::operator=().
{ if (&rh!=this) this->reset(rh? rh->clone() : nullptr); return *this; }
clone_ptr& extstd::clone_ptr< T >::operator= | ( | clone_ptr< U > && | rh | ) | [inline] |
Definition at line 41 of file clone_ptr.h.
{ if (&rh!=this) std::unique_ptr<T>::operator=(std::move(rh)); return *this; }
clone_ptr& extstd::clone_ptr< T >::operator= | ( | clone_ptr< U > const & | rh | ) | [inline] |
Definition at line 36 of file clone_ptr.h.
{ if (&rh!=this) this->reset(rh? rh->clone() : nullptr); return *this; }
clone_ptr& extstd::clone_ptr< T >::operator= | ( | clone_ptr< T > && | rh | ) | [inline] |
Definition at line 24 of file clone_ptr.h.
{ if (&rh!=this) std::unique_ptr<T>::operator=(std::move(rh)); return *this; }