Support Class Library
A set of tools providing classes and utility
Classes | Namespaces
Either.h File Reference
#include <utility>
#include <scl/macros.h>
#include <scl/exceptions/InvalidEitherAccess.h>
#include <scl/tools/meta/enable_if.h>
#include <scl/tools/meta/type_check.h>
#include <scl/tools/meta/void_t.h>
#include <scl/tools/meta/is_same.h>
#include <scl/utils/Optional.h>

Go to the source code of this file.

Classes

class  scl::utils::Either< Lhs, Rhs >
 Alternative type that stores one or the other. More...
 
struct  scl::utils::Either< Lhs, Rhs >::payload_t
 Payload type that encapsulates both alternatives. More...
 
struct  scl::utils::Either< Lhs, Rhs >::lhs_tag
 Tag used to construct the LHS member (in case both are convertible types) More...
 
struct  scl::utils::Either< Lhs, Rhs >::rhs_tag
 Tag used to construct the RHS member (in case both are convertible types) More...
 

Namespaces

 scl
 Global namespace of the SCL.
 
 scl::utils
 Utility classes (and rare functions)