BDE 4.14.0 Production release
|
Provide an exception class thrown by bsl::variant
.
bsl::variant
This component provides the bsl::bad_variant_access
exception class. This exception is thrown by bsl::get
when a bsl::variant
does not contain the requested alternative and bsl::visit
when a bsl::variant
does not contain a value. If std::variant
is available, bsl::bad_variant_access
is an alias to std::bad_variant_access
.