1
0
forked from boostorg/mp11

Merge pull request #66 from bernhardmgruber/mpl

Document how to convert an MPL sequence into an mp_list
This commit is contained in:
Peter Dimov
2021-10-28 21:48:18 +03:00
committed by GitHub

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;
```