mrdocs::operator==

Equality for any described type.

Synopsis

Declared in <mrdocs/Support/Reflection/CompareReflectedType.hpp>

template<typename T>
requires DescribedComparable<T>
bool
operator==(
    T const& a,
    T const& b);

Description

Needed because removing a defaulted member operator<=>() also removes the implicitly-generated operator==().

Return Value

true if the objects are equal, false otherwise

Parameters

NameDescription
aThe left operand
bThe right operand