BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslstl_badoptionalaccess

Outline

Purpose

Provide an exception class thrown by bsl::optional.

Classes

Canonical header: bsl_optional.h

See also
bslstl_optional, bslstl_stdexceptionutil

Description

This component provides a bsl::bad_optional_access exception class. This exception is thrown by bsl::optional::value when accessing a bsl::optional object that does not contain a value. If std::optional implementation is available, bsl::bad_optional_access is an alias to std::bad_optional_access.