Equality operator

Synopsis

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

template<
    std::derived_from<quantity_point> QP,
    QuantityPointOf<absolute_point_origin> QP2>
requires std::equality_comparable_with<quantity_type, typename QP2::quantity_type>
[[nodiscard]]
constexpr
bool
operator==(
    QP const& lhs,
    QP2 const& 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