Boost QVM

v_traits<Vector>::dim

static int const dim = /*user-defined*/;

This member of user-defined (partial) specializations of the v_traits template must be a compile-time integer constant greater than zero that defines the size (number of elements, or dimension) of a user-defined vector type.