Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

QVM: Quaternions, Vectors, Matrices


static inline scalar_type & write_element_idx( int i, Vector & v );

This function is expected to be static member of user-defined specializations of the vec_traits template. It returns mutable reference to the i-th element of v.

See also: vec | vec_index_write | vec_traits