mrdocs::Expected::operator=
Assign a new unexpected error from rvalue.
Synopsis
Declared in <mrdocs/Support/Expected.hpp>
template<class G>
requires std::is_constructible_v<E, G> &&
std::is_assignable_v<E&, G> &&
(std::is_nothrow_constructible_v<E, G> ||
std::is_nothrow_move_constructible_v<T> ||
std::is_nothrow_move_constructible_v<E>)
constexpr
Expected&
operator=(Unexpected<G>&& e);
Parameters
Name |
Description |
e |
The object to move assign from |
Created with MrDocs