Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2018. The current version is 1.91.0.
#include <boost/qvm/quat_traits_array.hpp>
namespace boost
{
namespace qvm
{
template <class T>
T (&ptr_qref( T * ptr ))[4];
}
}
A of type "array of 4 elements of type T" to the memory pointed by ptr. This makes it possible to use the array at ptr as a quaternion.