Template Class BadExpectedAccess< void >#

Inheritance Relationships#

Base Type#

  • public std::exception

Class Documentation#

template<>
class BadExpectedAccess<void> : public std::exception#

BadExpectedAccess<void> is the base class of all other BadExpectedAccess specializations.

Public Functions

inline const char *what() const noexcept override#

Returns the explanatory string.

Returns:

Pointer to a null-terminated string with explanatory information.

Protected Functions

BadExpectedAccess() noexcept = default#
constexpr BadExpectedAccess(const BadExpectedAccess&) = default#
constexpr BadExpectedAccess(BadExpectedAccess&&) = default#
BadExpectedAccess &operator=(const BadExpectedAccess&) = default#
BadExpectedAccess &operator=(BadExpectedAccess&&) = default#
~BadExpectedAccess() override = default#