Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Defines the type of objects thrown as exceptions to report the situation where an attempt is made to access the value of an optional object that doesn't contain a value.
Syntax
class bad_optional_access : public exception
{
public:
bad_optional_access() noexcept;
bad_optional_access(const bad_optional_access&) noexcept;
bad_optional_access& operator=(const bad_optional_access&) noexcept;
const char* what() const noexcept override;
};