mrdocs::operator==

Equality for any described type.

Synopsis

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

Name

Description

a

The left operand

b

The right operand

Created with MrDocs