mp_units::isinf¶
Determines if a quantity point is infinite.
Synopsis¶
Declared in <mp-units/math.h>
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;
Return Value¶
bool: Whether the quantity point is infinite or not.
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| a | Quantity point to analyze. |