|
guanaqo
main
Utilities for scientific software
|
#include <guanaqo/copyable-unique_ptr.hpp>
std::unique_ptr is move-only, this class wraps such a pointer and provides copy operations as well.
Definition at line 15 of file copyable-unique_ptr.hpp.
Public Member Functions | |
| copyable_unique_ptr (std::unique_ptr< T > ptr) | |
| copyable_unique_ptr ()=default | |
| copyable_unique_ptr (const copyable_unique_ptr &o) | |
| copyable_unique_ptr & | operator= (const copyable_unique_ptr &o) |
| copyable_unique_ptr (copyable_unique_ptr &&) noexcept=default | |
| copyable_unique_ptr & | operator= (copyable_unique_ptr &&) noexcept=default |
| operator std::unique_ptr< T > & () & | |
| operator const std::unique_ptr< T > & () const & | |
| operator std::unique_ptr< T > && () && | |
| std::unique_ptr< T > & | operator-> () |
| const std::unique_ptr< T > & | operator-> () const |
| auto & | operator* () |
| auto & | operator* () const |
Public Attributes | |
| std::unique_ptr< T > | ptr |
|
inline |
|
default |
|
inline |
|
defaultnoexcept |
|
inline |
|
defaultnoexcept |
|
inline |
Definition at line 27 of file copyable-unique_ptr.hpp.
|
inline |
Definition at line 28 of file copyable-unique_ptr.hpp.
|
inline |
Definition at line 29 of file copyable-unique_ptr.hpp.
|
inline |
Definition at line 31 of file copyable-unique_ptr.hpp.
|
inline |
Definition at line 32 of file copyable-unique_ptr.hpp.
|
inline |
Definition at line 33 of file copyable-unique_ptr.hpp.
|
inline |
Definition at line 34 of file copyable-unique_ptr.hpp.
| std::unique_ptr<T> guanaqo::copyable_unique_ptr< T >::ptr |
Definition at line 36 of file copyable-unique_ptr.hpp.