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

#include <result.hpp>

Inheritance diagram for mlab::result< E, Ts... >:
Collaboration diagram for mlab::result< E, Ts... >:

Public Types

using base = result<E, tuple_container_t<Ts...>>
 
using value_type_as_tuple = std::tuple<Ts...>
 

Public Member Functions

 result ()=default
 
 result (result &&) noexcept=default
 
 result (result const &other)=default
 
resultoperator= (result const &other)=default
 
resultoperator= (result &&other)=default
 
 result (Ts... ts)
 
 result (base b)
 

Static Public Attributes

static constexpr std::size_t value_size = sizeof...(Ts)
 

Member Typedef Documentation

◆ base

template<class E , class... Ts>
using mlab::result< E, Ts... >::base = result<E, tuple_container_t<Ts...>>

◆ value_type_as_tuple

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

Constructor & Destructor Documentation

◆ result() [1/5]

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

◆ result() [2/5]

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

◆ result() [3/5]

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

◆ result() [4/5]

template<class E , class... Ts>
mlab::result< E, Ts... >::result ( Ts... ts)
inline

◆ result() [5/5]

template<class E , class... Ts>
mlab::result< E, Ts... >::result ( base b)
inline

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ value_size

template<class E , class... Ts>
std::size_t mlab::result< E, Ts... >::value_size = sizeof...(Ts)
staticconstexpr

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