#include "cetl/pf17/optional.hpp"
Public Member Functions | |
bad_optional_access (const bad_optional_access &) noexcept=default | |
bad_optional_access (bad_optional_access &&) noexcept=default | |
bad_optional_access & | operator= (const bad_optional_access &) noexcept=default |
bad_optional_access & | operator= (bad_optional_access &&) noexcept=default |
CETL_NODISCARD const char * | what () const noexcept override |
![]() | |
T | exception (T... args) |
T | operator= (T... args) |
T | what (T... args) |
T | ~exception (T... args) |
A polyfill for std::bad_optional_access.
This is only available if exceptions are enabled (__cpp_exceptions is defined).