ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
threadschedule::unexpected< E > Class Template Reference

#include <expected.hpp>

Public Member Functions

constexpr unexpected (E const &error)
 
constexpr unexpected (E &&error)
 
constexpr auto error () const &noexcept -> E const &
 
constexpr auto error () &noexcept -> E &
 
constexpr auto error () const &&noexcept -> E const &&
 
constexpr auto error () &&noexcept -> E &&
 

Detailed Description

template<typename E>
class threadschedule::unexpected< E >

Definition at line 93 of file expected.hpp.

Constructor & Destructor Documentation

◆ unexpected() [1/2]

template<typename E >
constexpr threadschedule::unexpected< E >::unexpected ( E const &  error)
inlineexplicitconstexpr

Definition at line 96 of file expected.hpp.

◆ unexpected() [2/2]

template<typename E >
constexpr threadschedule::unexpected< E >::unexpected ( E &&  error)
inlineexplicitconstexpr

Definition at line 97 of file expected.hpp.

Member Function Documentation

◆ error() [1/4]

template<typename E >
constexpr auto threadschedule::unexpected< E >::error ( ) && -> E&&
inlineconstexprnoexcept

Definition at line 114 of file expected.hpp.

◆ error() [2/4]

template<typename E >
constexpr auto threadschedule::unexpected< E >::error ( ) & -> E&
inlineconstexprnoexcept

Definition at line 104 of file expected.hpp.

◆ error() [3/4]

template<typename E >
constexpr auto threadschedule::unexpected< E >::error ( ) const && -> E const&&
inlineconstexprnoexcept

Definition at line 109 of file expected.hpp.

◆ error() [4/4]

template<typename E >
constexpr auto threadschedule::unexpected< E >::error ( ) const & -> E const&
inlineconstexprnoexcept

Definition at line 99 of file expected.hpp.


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