libycxx

class template

std::unexpected

Scope
std

Synopsis

template<class E>
class unexpected;

Member functions

NameDeclaration
unexpectedconstructor · 5 overloadsunexpected(const unexpected& other) +4 more
operator=operator · 2 overloadsunexpected& operator=(const unexpected& other) +1 more
errormember function · 4 overloadsconst E& error() const & +3 more
swapmember functionvoid swap(unexpected& other)