member function · 4 overloads
std::bad_expected_access::error
- Header
<expected>- Draft
- [expected.bad]
- Scope
std::bad_expected_access- cppreference
- std::bad_expected_access nearest page
Overloads
- (1)
constexpr E& error() & noexcept; - (2)
constexpr const E& error() const & noexcept; - (3)
constexpr E&& error() && noexcept; - (4)
constexpr const E&& error() const && noexcept;