[#mp_units-quantity_spec-0a6-operator_call-0a] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity_spec-0a6.adoc[quantity_spec<QS, Args...>]::operator() :relfileprefix: ../../ :mrdocs: Function call operators == Synopses Declared in `<mp‐units/framework/quantity_spec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Self, typename FwdQ, xref:mp_units/Quantity.adoc[Quantity] Q = std::remove_cvref_t<FwdQ>> requires (mp_units::explicitly_convertible(Q::quantity_spec, Self{})) && requires { typename quantity<make_reference(Self{}, Q::unit), typename Q::rep>; } [[nodiscard]] constexpr xref:mp_units/Quantity.adoc[Quantity] auto xref:mp_units/quantity_spec-0a6/operator_call-01.adoc[operator()](this Self, FwdQ&& q); ---- [.small]#xref:mp_units/quantity_spec-0a6/operator_call-01.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Self, typename FwdValue, xref:mp_units/RepresentationOf.adoc[RepresentationOf<Self{}>] Value = std::remove_cvref_t<FwdValue>> requires (detail::explicitly_convertible_to_dimensionless(Self{})) [[nodiscard]] constexpr xref:mp_units/Quantity.adoc[Quantity] auto xref:mp_units/quantity_spec-0a6/operator_call-09.adoc[operator()](this Self, FwdValue&& val); ---- [.small]#xref:mp_units/quantity_spec-0a6/operator_call-09.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Self, typename FwdQP, xref:mp_units/QuantityPoint.adoc[QuantityPoint] QP = std::remove_cvref_t<FwdQP>> requires (mp_units::explicitly_convertible(QP::quantity_spec, Self{})) && requires { typename quantity_point<make_reference(Self{}, QP::unit), QP::point_origin, typename QP::rep>; } [[nodiscard]] constexpr xref:mp_units/QuantityPoint.adoc[QuantityPoint] auto xref:mp_units/quantity_spec-0a6/operator_call-06.adoc[operator()](this Self self, FwdQP&& qp); ---- [.small]#xref:mp_units/quantity_spec-0a6/operator_call-06.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#