mp_units::quantity_point::quantity_point¶
Default-constructs a point whose origin has no bounds, as its representation type is.
Synopsis¶
Declared in <mp-units/framework/quantity_point.h>
[[nodiscard]] quantity_point()
requires(!detail::any_ancestor_has_bounds(PO))
= default;
Description¶
Default-initialization, as in quantity_point p;, leaves the delta from the origin indeterminate for a representation such as double. Value-initialization, as in quantity_point{}, stores a zero delta, which is the origin itself.
Return Value¶
Note
The return value should not be discarded.