Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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;
};