mp_units::check_in_range::operator()¶
Tells whether v lies between min and max, each included unless given as exclusive_bound. Returns false for NaN.
Synopsis¶
Declared in <mp-units/overflow_policies.h>
template<Quantity V>
[[nodiscard]] constexpr bool operator()(V const& v) const;
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| v | The right operand |
See Also¶
quantity_point::is_within_bounds for the test applied before constructing a point