util::Expected::swap

Swap contents with another Expected.

Synopsis

Declared in <util/expected.h>

constexpr
void
swap(Expected& other) noexcept;

Parameters

NameDescription
otherThe instance to swap with.