]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | [section:tuples Tuples] |
2 | ||
3 | [h4 Synopsis] | |
4 | ||
5 | `` | |
6 | #include <boost/math/tools/tuple.hpp> | |
7 | `` | |
8 | ||
9 | [h4 Description] | |
10 | ||
11 | This header defines the type `boost::math::tuple`, | |
12 | the associated free functions `ignore`, `tie`, `make_tuple`, `get`, | |
13 | and associated types `tuple_size` and `tuple_element`. | |
14 | ||
15 | These types and functions are aliases for: | |
16 | ||
17 | * `std::tuple` etc when available, otherwise: | |
18 | * `std::tr1::tuple` etc when available, otherwise: | |
19 | * `boost::fusion::tuple` etc if the compiler supports it, otherwise: | |
20 | * `boost::tuple`. | |
21 | ||
22 | So this `boost::math::tuple` is strongly recommended for maximum portability. | |
23 | ||
24 | [endsect] [/section:Tuples Tuples] | |
25 | [/ | |
26 | Copyright 2010 John Maddock. | |
27 | Distributed under the Boost Software License, Version 1.0. | |
28 | (See accompanying file LICENSE_1_0.txt or copy at | |
29 | http://www.boost.org/LICENSE_1_0.txt). | |
30 | ] | |
31 |