Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / mp11 / doc / mp11 / mpl.adoc
1 ////
2 Copyright 2017 Peter Dimov
3
4 Distributed under the Boost Software License, Version 1.0.
5
6 See accompanying file LICENSE_1_0.txt or copy at
7 http://www.boost.org/LICENSE_1_0.txt
8 ////
9
10 [#mpl]
11 # MPL Support, <boost/mp11/mpl.hpp>
12 :toc:
13 :toc-title:
14 :idprefix:
15
16 The header `<boost/mp11/mpl.hpp>`, when included, defines the
17 necessary support infrastructure for `mp_list` and `std::tuple`
18 to be valid link:../../../../libs/mpl[MPL] sequences.
19
20 NOTE: `mpl.hpp` is not included by `<boost/mp11.hpp>`.
21
22 It's also possible to only enable support for `mp_list` by
23 including `<boost/mp11/mpl_list.hpp>`, and for `std::tuple`
24 by including `<boost/mp11/mpl_tuple.hpp>`. This may be required
25 because some libraries, such as Boost.Fusion, contain their own MPL
26 support for `std::tuple`, which conflicts with Mp11's one.