mrdocs::polyfill::bad_expected_access

Base class for accessing an empty expected.

Synopsis

Declared in <mrdocs/polyfill/expected.hpp>

template<class E>
class bad_expected_access
    : public bad_expected_access<void>

Base Classes

NameDescription
bad_expected_access<void>Exception thrown when reading the value of an empty expected.

Member Functions

NameDescription
bad_expected_access [constructor]Construct with the unexpected error value.
operator= Assignment operators
error error overloads
what [virtual]Return a diagnostic string.

Protected Member Functions

NameDescription
operator= Assignment operators

Specializations

NameDescription
bad_expected_access<void> Exception thrown when reading the value of an empty expected.