|
Support Class Library
A set of tools providing classes and utility
|
Payload type that encapsulates both alternatives. More...
#include "Either.h"

Public Member Functions | |
| payload_t ()=default | |
| ~payload_t ()=default | |
| template<class = scl::tools::meta ::enable_if_t< Either::is_movable() >> | |
| payload_t (payload_t &&p) | |
| template<class = scl::tools::meta ::enable_if_t< Either::is_copyable() >> | |
| payload_t (const payload_t &p) | |
| template<class = scl::tools::meta ::void_t< scl::tools::meta ::enable_if_t< Either::is_copyable() > >> | |
| payload_t & | operator= (const payload_t &p) |
| template<class = scl::tools::meta ::void_t< scl::tools::meta ::enable_if_t< Either::is_movable() > >> | |
| payload_t & | operator= (payload_t &&p) |
Public Attributes | |
| Optional< Lhs > | left = {} |
| The holder of the left alternative. More... | |
| Optional< Rhs > | right = {} |
| The holder of the right alternative. More... | |
Payload type that encapsulates both alternatives.
|
default |
|
default |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
| scl::utils::Either< Lhs, Rhs >::payload_t::left = {} |
| scl::utils::Either< Lhs, Rhs >::payload_t::right = {} |
1.8.13