plugify 1.2.8
Loading...
Searching...
No Matches
Public Member Functions | List of all members
plg::bad_expected_access< E > Class Template Reference

Public Member Functions

 bad_expected_access (E e)
 
auto what () const noexcept -> char const *override
 
auto error () &noexcept -> E &
 
auto error () const &noexcept -> E const &
 
auto error () &&noexcept -> E &&
 
auto error () const &&noexcept -> const E &&
 

Detailed Description

template<class E>
class plg::bad_expected_access< E >

Definition at line 113 of file expected.hpp.

Constructor & Destructor Documentation

◆ bad_expected_access()

template<class E >
plg::bad_expected_access< E >::bad_expected_access ( e)
inlineexplicit

Definition at line 115 of file expected.hpp.

Member Function Documentation

◆ error() [1/4]

template<class E >
auto plg::bad_expected_access< E >::error ( ) && -> E&&
inlinenoexcept

Definition at line 122 of file expected.hpp.

◆ error() [2/4]

template<class E >
auto plg::bad_expected_access< E >::error ( ) & -> E&
inlinenoexcept

Definition at line 120 of file expected.hpp.

◆ error() [3/4]

template<class E >
auto plg::bad_expected_access< E >::error ( ) const && -> const E&&
inlinenoexcept

Definition at line 123 of file expected.hpp.

◆ error() [4/4]

template<class E >
auto plg::bad_expected_access< E >::error ( ) const & -> E const&
inlinenoexcept

Definition at line 121 of file expected.hpp.

◆ what()

template<class E >
auto plg::bad_expected_access< E >::what ( ) const -> char const*
inlineoverridenoexcept

Definition at line 116 of file expected.hpp.


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