...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
#include <boost/math/tools/tuple.hpp>
This header defines the type boost::math::tuple
,
the associated free functions ignore
,
tie
, make_tuple
,
get
, and associated types
tuple_size
and tuple_element
.
These types and functions are aliases for:
std::tuple
etc when available, otherwise:
std::tr1::tuple
etc when available, otherwise:
boost::fusion::tuple
etc if the compiler supports
it, otherwise:
boost::tuple
.
So this boost::math::tuple
is strongly recommended for maximum
portability.