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

#include <result.hpp>

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

Public Types

using base = result<E, result_success_type>
 
using value_type_as_tuple = std::tuple<>
 

Public Member Functions

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 = 0
 

Member Typedef Documentation

◆ base

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

◆ value_type_as_tuple

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

Constructor & Destructor Documentation

◆ result() [1/4]

template<class E >
template<class T , class >
mlab::result< E, void >::result ( result< E, T > const & other)
inline

◆ result() [2/4]

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

◆ result() [3/4]

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

◆ result() [4/4]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ value_size

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

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