Skip to content

mp_units::iec::get_quantity_spec

Synopses

Declared in <mp-units/framework/unit_definitions.h>

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);

» more...

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);

» more...

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);

» more...

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);

» more...

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);

» more...

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);

» more...

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);

» more...

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);

» more...

Warning

Deprecated: 2.6.0: `quantity_spec` definition of `U` should not be marked `final`. Use of this entity is allowed but discouraged.

Return Value

Note

The return value should not be discarded.