Pretty Good Sum Type
1.0.0
|
types More...
#include <recursive_wrapper.hpp>
Public Types | |
typedef T | type |
Alias type for T | |
Public Member Functions | |
template<class... Args> | |
recursive_wrapper (Args &&...args) | |
Forwarding ctor (heap allocates type instance) | |
recursive_wrapper (recursive_wrapper const &rhs) | |
Copy ctor. | |
recursive_wrapper (type const &rhs) | |
Copy-construct from type | |
recursive_wrapper (recursive_wrapper &&rhs) | |
Move-construct from recursive_wrapper | |
recursive_wrapper (type &&rhs) | |
Move-construct from type | |
~recursive_wrapper () | |
Destructor (frees heap-allocated type instance) | |
recursive_wrapper & | operator= (recursive_wrapper const &rhs) |
Copy-assign from recursive_wrapper | |
recursive_wrapper & | operator= (type const &rhs) |
Copy-assign from type | |
recursive_wrapper & | operator= (recursive_wrapper &&rhs) noexcept |
Move-assign from recursive_wrapper | |
recursive_wrapper & | operator= (type &&rhs) |
Move-assign from type | |
void | swap (recursive_wrapper &rhs) noexcept |
Swap with recursive_wrapper | |
type & | get () |
Accessor to the type instance. | |
type const & | get () const |
Accessor to the type instance. | |
type * | get_pointer () |
Accessor to the type instance. | |
type const * | get_pointer () const |
Accessor to the type instance. | |
types