1
0
forked from boostorg/mp11

document how to convert an MPL sequence into an mp_list

This commit is contained in:
Bernhard Manfred Gruber
2021-09-14 21:30:06 +02:00
parent 28a9ff62f1
commit 891b4ddd88

View File

@@ -24,3 +24,8 @@ including `<boost/mp11/mpl_list.hpp>`, and for `std::tuple`
by including `<boost/mp11/mpl_tuple.hpp>`. This may be required
because some libraries, such as Boost.Fusion, contain their own MPL
support for `std::tuple`, which conflicts with Mp11's one.
.Converting an existing MPL Sequence into an `mp_list`:
```
using L = mpl::copy<Sequence, mpl::back_inserter<mp11::mp_list<>>>::type;
```