Equality operator

Synopsis

Declared in <mp‐units/framework/reference.h>

template<
    typename Q2,
    typename U2>
[[nodiscard]]
consteval
bool
operator==(
    reference lhs,
    reference<Q2, U2> rhs);

Return Value

true if the objects are equal, false otherwise

Parameters

Name

Description

lhs

The left operand

rhs

The right operand

Created with MrDocs