<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;
Name | Description |
---|---|
a: | Quantity to analyze. |
a | A quantity |