QVM: Quaternions, Vectors, Matrices

vec_traits<V>::read_element

template <int I> static inline scalar_type read_element( Vector const & v );

This function template is expected to be static member of user-defined specializations of the vec_traits template. It returns the I-th element of v, by value or by const reference.