Returns the default point origin for a reference
Declared in <mp-units/framework/quantity_point.h>
template<Reference R>
[[nodiscard]]
consteval
PointOriginFor<get_quantity_spec(R{})> auto
default_point_origin(R r);
If the reference's unit defines its own point origin, that origin is returned. Otherwise, the natural point origin of the reference's quantity specification is used.
the default point origin associated with R
The return value should not be discarded.
| Name | Description |
|---|---|
| R | reference type for which the default point origin is requested |
| Name | Description |
|---|---|
| r | reference instance for which the default point origin is requested |