mp_units::isfinite

Determines if a quantity point is finite.

Synopsis

Declared in <mp-units/math.h>
template<
    auto R,
    auto PO,
    typename Rep>
requires requires(quantity<R, Rep> q) { isfinite(q); }
[[nodiscard]]
constexpr
bool
isfinite(quantity_point<R, PO, Rep> const& a) noexcept;


Return Value

bool: Whether the quantity point is finite or not.

Parameters

Name Description
a: Quantity point to analyze.
a A quantity point

Created with MrDocs