mp_units::isinf

Determines if a quantity is infinite.

Synopsis

Declared in <mp-units/math.h>
template<
    auto R,
    typename Rep>
requires requires(Rep v) { isinf(v); } || requires(Rep v) { std::isinf(v); }
[[nodiscard]]
constexpr
bool
isinf(quantity<R, Rep> const& a) noexcept;


Return Value

bool: Whether the quantity is infinite or not.

Parameters

Name Description
a: Quantity to analyze.
a A quantity

Created with MrDocs