mp_units::isinf

isinf overloads

Synopses

Declared in <mp-units/math.h>
Determines if a quantity is infinite.
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;


» more... Determines if a quantity point is infinite.
template<
    auto R,
    auto PO,
    typename Rep>
requires requires(quantity<R, Rep> q) { isinf(q); }
[[nodiscard]]
constexpr
bool
isinf(quantity_point<R, PO, Rep> const& a) noexcept;


» more...

Return Value

Parameters

Name Description
a: Quantity to analyze.

Created with MrDocs