mitteLib
Loading...
Searching...
No Matches
mlab::result< E > Class Template Reference

#include <result.hpp>

Inheritance diagram for mlab::result< E >:
Collaboration diagram for mlab::result< E >:

Public Types

using base = result<E, void>
 
using value_type_as_tuple
 
- Public Types inherited from mlab::result< E, void >
using base = result<E, result_success_type>
 
using value_type_as_tuple = std::tuple<>
 

Public Member Functions

 result ()=default
 
 result (result &&) noexcept=default
 
 result (result const &other)=default
 
resultoperator= (result const &other)=default
 
resultoperator= (result &&other)=default
 
- Public Member Functions inherited from mlab::result< E, void >
template<class T , class = typename std::enable_if< not std::is_void<T>::value and not std::is_same<T, result_success_type>::value>::type>
 result (result< E, T > const &other)
 
 result ()=default
 
 result (result &&) noexcept=default
 
 result (result const &other)=default
 
resultoperator= (result const &other)=default
 
resultoperator= (result &&other)=default
 

Static Public Attributes

static constexpr std::size_t value_size
 
- Static Public Attributes inherited from mlab::result< E, void >
static constexpr std::size_t value_size = 0
 

Member Typedef Documentation

◆ base

template<class E >
using mlab::result< E >::base = result<E, void>

◆ value_type_as_tuple

template<class E >
using mlab::result< E, void >::value_type_as_tuple

Constructor & Destructor Documentation

◆ result() [1/3]

template<class E >
mlab::result< E >::result ( )
default

◆ result() [2/3]

template<class E >
mlab::result< E >::result ( result< E > && )
defaultnoexcept

◆ result() [3/3]

template<class E >
mlab::result< E >::result ( result< E > const & other)
default

Member Function Documentation

◆ operator=() [1/2]

template<class E >
result & mlab::result< E >::operator= ( result< E > && other)
default

◆ operator=() [2/2]

template<class E >
result & mlab::result< E >::operator= ( result< E > const & other)
default

Member Data Documentation

◆ value_size

template<class E >
std::size_t mlab::result< E, void >::value_size
staticconstexpr

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