Checks whether v compares greater than T::zero()
Declared in <mp-units/framework/compare.h>
template<typename T>
requires requires {
{ T::zero() } -> std::three_way_comparable_with<T>;
}
[[deprecated("2.6.0: compare against literal `0` instead"), nodiscard]]
constexpr
bool
is_gt_zero(T v);
Deprecated: 2.6.0: compare against literal `0` instead. Use of this entity is allowed but discouraged.
| Name | Description |
|---|---|
| v | The value to compare against T::zero() |