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_ASSERT

#include <boost/qvm/assert.hpp>

#ifndef BOOST_QVM_ASSERT
#include <boost/assert.hpp>
#define BOOST_QVM_ASSERT BOOST_ASSERT
#endif

This is the macro Boost QVM uses to assert on precondition violations and logic errors. A user-defined BOOST_QVM_ASSERT should have the semantics of the standard assert.