Public alias that yields the representation type of a quantity‐like type.

Synopsis

Declared in <mp‐units/framework/quantity_traits.h>

template<typename T>
using rep_for = /* implementation-defined */::type;

Description

Derived from the type's own ::rep member (for quantity / quantity_point) or from quantity_like_traits<T>::rep / quantity_point_like_traits<T>::rep for external types.

This is not a customization point. Users teach the library about external types by specializing quantity_like_traits / quantity_point_like_traits, not this helper.

Template Parameters

Name Description

T

a quantity‐like or quantity‐point‐like type

Created with MrDocs