Skip to content

mp_units::vector_components

The former name of component_vectors

Synopsis

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

template<QuantitySpec auto QS>
  requires(detail::admits(QS._character_.order, quantity_tensor_order::vector)) &&
          (!detail::QuantityKindSpec<MP_UNITS_NTTP_HACK(decltype(QS))>)
struct [[deprecated("2.6.0: Use `component_vectors` instead")]] vector_components;

Warning

Deprecated: 2.6.0: Use `component_vectors` instead. Use of this entity is allowed but discouraged.

Description

A specialization of it still declares the axes, and component_vectors takes precedence when both are specialized.