mp_units::quantity_point::quantity_point

Constructors

Synopses

Declared in <mp-units/framework/quantity_point.h>
Default constructor
quantity_point() = default;


» more... Copy constructor
quantity_point(quantity_point const& other) = default;


» more... Move constructor
quantity_point(quantity_point&& other) = default;


» more... Construct from QP
template<QuantityPointLike QP>
requires (quantity_point_like_traits<QP>::point_origin == point_origin) &&
            std::constructible_from<quantity_type, quantity<quantity_point_like_traits<QP>::reference,
                                                            typename quantity_point_like_traits<QP>::rep>>
constexpr
explicit(quantity_point_like_traits<QP>::explicit_import || !std::convertible_to<quantity<quantity_point_like_traits<QP>::reference, typename quantity_point_like_traits<QP>::rep>, quantity_type>)
quantity_point(QP const& qp);


» more... Construct from QP
template<QuantityPointOf<absolute_point_origin> QP>
requires std::constructible_from<quantity_type, typename QP::quantity_type>
constexpr
explicit(!std::convertible_to<typename QP::quantity_type, quantity_type>)
quantity_point(QP const& qp);


» more... Construct from FwdQ
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))
constexpr
explicit
quantity_point(FwdQ&& q);


» more... Constructor
template<
    typename FwdQ,
    QuantityOf<quantity_spec> Q = std::remove_cvref_t<FwdQ>>
requires std::constructible_from<quantity_type, FwdQ>
constexpr
quantity_point(
    FwdQ&& q,
    decltype(PO));


» more... Constructor
template<
    typename FwdQ,
    PointOrigin PO2,
    QuantityOf<PO2::_quantity_spec_> Q = std::remove_cvref_t<FwdQ>>
requires std::constructible_from<quantity_type, FwdQ> && detail::SameAbsolutePointOriginAs<PO2, PO>
constexpr
quantity_point(
    FwdQ&& q,
    PO2);


» more...

Created with MrDocs