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

QVM: Quaternions, Vectors, Matrices

BOOST_QVM_THROW_EXCEPTION

#include <boost/qvm/throw_exception.hpp>

#ifndef BOOST_QVM_THROW_EXCEPTION
#include <boost/throw_exception.hpp>
#define BOOST_QVM_THROW_EXCEPTION BOOST_THROW_EXCEPTION
#endif

This macro is used whenever Boost QVM throws an exception. Users who override the standard BOOST_QVM_THROW_EXCEPTION behavior must ensure that when invoked, the substituted implementation does not return control to the caller. Below is a list of all QVM functions that invoke BOOST_QVM_THROW_EXCEPTION: