Constructor

Synopsis

Declared in <mp‐units/framework/quantity_point.h>

template<
    typename FwdQ,
    PointOrigin PO2,
    Quantity Q = std::remove_cvref_t<FwdQ>>
requires PointOriginFor<PO2, Q::quantity_spec> && std::constructible_from<quantity_type, FwdQ> &&
             detail::SameAbsolutePointOriginAs<PO2, PO>
[[nodiscard]]
constexpr
quantity_point(
    FwdQ&& q,
    PO2);

Return Value

Note

The return value should not be discarded.

Parameters

Name

Description

q

The object to move construct from

Created with MrDocs