mp_units::operator==

Equality operator

Synopsis

Declared in <mp-units/framework/symbol_text.h>

template<
    std::size_t N,
    std::size_t M>
[[nodiscard]]
constexpr
bool
operator==(
    symbol_text<N, M> const& lhs,
    char rhs) noexcept
requires requires { symbol_text<N, M>(rhs); };

NOTE

This function is a hidden friend of symbol_text, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.

Return Value

true if the objects are equal, false otherwise

NOTE

The return value should not be discarded.

Parameters

NameDescription
lhsThe left operand
rhsThe right operand