mp_units::get_quantity_spec¶
Synopses¶
Declared in <mp-units/framework/reference.h>
[[nodiscard]] consteval QuantitySpec auto get_quantity_spec(reference);
[[deprecated("2.6.0: `Q` definition should not be marked `final`"),
nodiscard]] consteval QuantitySpec auto get_quantity_spec(reference)
requires std::is_final_v<Q>;
template<Unit U>
requires std::is_final_v<decltype(detail::get_associated_quantity(U{}))>
[[deprecated("2.6.0: `quantity_spec` definition of `U` should not be marked `final`"),
nodiscard]] consteval QuantitySpec auto get_quantity_spec(U);
template<Unit U>
requires std::is_final_v<decltype(detail::get_associated_quantity(U{}))>
[[deprecated("2.6.0: `quantity_spec` definition of `U` should not be marked `final`"),
nodiscard]] consteval QuantitySpec auto get_quantity_spec(U);
template<Unit U>
requires std::is_final_v<decltype(detail::get_associated_quantity(U{}))>
[[deprecated("2.6.0: `quantity_spec` definition of `U` should not be marked `final`"),
nodiscard]] consteval QuantitySpec auto get_quantity_spec(U);
template<Unit U>
requires std::is_final_v<decltype(detail::get_associated_quantity(U{}))>
[[deprecated("2.6.0: `quantity_spec` definition of `U` should not be marked `final`"),
nodiscard]] consteval QuantitySpec auto get_quantity_spec(U);
template<Unit U>
requires std::is_final_v<decltype(detail::get_associated_quantity(U{}))>
[[deprecated("2.6.0: `quantity_spec` definition of `U` should not be marked `final`"),
nodiscard]] consteval QuantitySpec auto get_quantity_spec(U);
template<Unit U>
requires std::is_final_v<decltype(detail::get_associated_quantity(U{}))>
[[deprecated("2.6.0: `quantity_spec` definition of `U` should not be marked `final`"),
nodiscard]] consteval QuantitySpec auto get_quantity_spec(U);
template<Unit U>
[[nodiscard]] consteval QuantitySpec auto get_quantity_spec(U po);
template<Unit U>
[[nodiscard]] consteval QuantitySpec auto get_quantity_spec(U po);
template<Unit U>
[[nodiscard]] consteval QuantitySpec auto get_quantity_spec(U po);
template<Unit U>
[[nodiscard]] consteval QuantitySpec auto get_quantity_spec(U po);
template<Unit U>
[[nodiscard]] consteval QuantitySpec auto get_quantity_spec(U po);
template<Unit U>
[[nodiscard]] consteval QuantitySpec auto get_quantity_spec(U po);
Return Value¶
Note
The return value should not be discarded.