class template
std::unexpected
- Header
<expected>- Scope
std- cppreference
- std::unexpected
Synopsis
template<class E>
class unexpected;Member functions
| Name | Declaration |
|---|---|
unexpectedconstructor · 5 overloads | unexpected(const unexpected& other) +4 more |
operator=operator · 2 overloads | unexpected& operator=(const unexpected& other) +1 more |
errormember function · 4 overloads | const E& error() const & +3 more |
swapmember function | void swap(unexpected& other) |