class template
std::bad_expected_access
- Header
<expected>- Draft
- [expected.bad]
- Scope
std- cppreference
- std::bad_expected_access
Synopsis
template<class E>
class bad_expected_access
: public bad_expected_access<void>Specializations
Member functions
| Name | Declaration |
|---|---|
bad_expected_accessconstructor | bad_expected_access(E e) |
operator=operator | exception& operator=(const exception& other) |
errormember function · 4 overloads | E& error() & +3 more |
whatmember function | const char* what() const |
Protected Member functions
| Name | Declaration |
|---|---|
operator=operator · 2 overloads | bad_expected_access<void>& operator=(const bad_expected_access<void>& other) +1 more |