mrdocs::Unexpected::swap

Swap the contained error with another instance.

Synopsis

constexpr
void
swap(Unexpected& other) noexcept(std::is_nothrow_swappable_v<E>)
requires std::is_swappable_v<E>;

Parameters

Name

Description

other

Holds an unexpected error value for Expected.

Created with MrDocs