Developer documentation
Version 3.0.3-105-gd3941f44
MR::copy_ptr< T, Deleter > Class Template Reference

#include "memory.h"

Inheritance diagram for MR::copy_ptr< T, Deleter >:

Public Member Functions

constexpr copy_ptr () noexcept
 
constexpr copy_ptr (std::nullptr_t) noexcept
 
 copy_ptr (T *p) noexcept
 
 copy_ptr (const copy_ptr &u)
 
 copy_ptr (copy_ptr &&u) noexcept
 
template<class U , class E >
 copy_ptr (copy_ptr< U, E > &&u) noexcept
 
copy_ptroperator= (const copy_ptr &u)
 

Detailed Description

template<class T, class Deleter = std::default_delete<T>>
class MR::copy_ptr< T, Deleter >

Definition at line 31 of file memory.h.

Constructor & Destructor Documentation

◆ copy_ptr() [1/6]

template<class T , class Deleter = std::default_delete<T>>
constexpr MR::copy_ptr< T, Deleter >::copy_ptr ( )
inlineconstexprnoexcept

Definition at line 34 of file memory.h.

◆ copy_ptr() [2/6]

template<class T , class Deleter = std::default_delete<T>>
constexpr MR::copy_ptr< T, Deleter >::copy_ptr ( std::nullptr_t  )
inlineconstexprnoexcept

Definition at line 35 of file memory.h.

◆ copy_ptr() [3/6]

template<class T , class Deleter = std::default_delete<T>>
MR::copy_ptr< T, Deleter >::copy_ptr ( T *  p)
inlineexplicitnoexcept

Definition at line 36 of file memory.h.

◆ copy_ptr() [4/6]

template<class T , class Deleter = std::default_delete<T>>
MR::copy_ptr< T, Deleter >::copy_ptr ( const copy_ptr< T, Deleter > &  u)
inline

Definition at line 37 of file memory.h.

◆ copy_ptr() [5/6]

template<class T , class Deleter = std::default_delete<T>>
MR::copy_ptr< T, Deleter >::copy_ptr ( copy_ptr< T, Deleter > &&  u)
inlinenoexcept

Definition at line 38 of file memory.h.

◆ copy_ptr() [6/6]

template<class T , class Deleter = std::default_delete<T>>
template<class U , class E >
MR::copy_ptr< T, Deleter >::copy_ptr ( copy_ptr< U, E > &&  u)
inlinenoexcept

Definition at line 40 of file memory.h.

Member Function Documentation

◆ operator=()

template<class T , class Deleter = std::default_delete<T>>
copy_ptr & MR::copy_ptr< T, Deleter >::operator= ( const copy_ptr< T, Deleter > &  u)
inline

Definition at line 42 of file memory.h.


The documentation for this class was generated from the following file: