mrdocs::operator==
Equality operator
Synopsis
Declared in <mrdocs/Support/Expected.hpp>
template<
class U,
class E2>
constexpr
bool
operator==(
Expected const& x,
Expected<U, E2> const& y) noexcept(/* see-below */)
requires (!std::is_void_v<U>);
|
This function is a hidden friend of Expected<T&, E>, declared only inside that class: it can be found only through argument-dependent lookup. |
Exception specification
This function is potentially-throwing unless noexcept(bool(*x == *y)) && noexcept(bool(x.error() == y.error())).
Parameters
Name |
Description |
x |
The left operand |
y |
The right operand |
Created with MrDocs