mp_units::quantity_point::quantity_point¶
Construct from FwdQ
Synopsis¶
Declared in <mp-units/framework/quantity_point.h>
template<typename FwdQ, QuantityOf<quantity_spec> Q = std::remove_cvref_t<FwdQ>>
requires std::constructible_from<quantity_type, FwdQ> && (point_origin == default_point_origin(R))
[[nodiscard]] constexpr explicit quantity_point(FwdQ&& q);
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| q | The object to move construct from |