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 the documentation for an old version of boost. Click here for the latest Boost documentation.

QVM: Quaternions, Vectors, Matrices

enable_if

#include <boost/qvm/enable_if.hpp>

namespace boost
{
    namespace qvm
    {
        using boost::enable_if;
        using boost::enable_if_c;
        using boost::lazy_enable_if;
        using boost::lazy_enable_if_c;
    }
}

These enable_if templates are used by Boost OVM to implement SFINAE/enable_if. By default, they refer to the implementation provided in the Boost enable_if library.