Returns the largest representable quantity point, honoring the point origin's bounds policy.
Synopsis
Declared in <mp‐units/framework/quantity_point.h>
[[nodiscard]]
constexpr
static
quantity_point
max() noexcept
requires requires { PO._bounds_.max; } || requires { quantity_type::max(); };
Return Value
A quantity point at point_origin, holding the origin's declared upper bound if point_origin provides one, or quantity_type::max() otherwise.
|
Note
|
The return value should not be discarded. |
Created with MrDocs