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

Public Member Functions

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

Detailed Description

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

Definition at line 96 of file expected.hpp.

Constructor & Destructor Documentation

◆ unexpected() [1/2]

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

Definition at line 99 of file expected.hpp.

◆ unexpected() [2/2]

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

Definition at line 102 of file expected.hpp.

Member Function Documentation

◆ error() [1/3]

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

Definition at line 113 of file expected.hpp.

◆ error() [2/3]

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

Definition at line 109 of file expected.hpp.

◆ error() [3/3]

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

Definition at line 105 of file expected.hpp.


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