forked from boostorg/mp11
Update documentation
This commit is contained in:
@@ -19,6 +19,10 @@ http://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
`mp_transform<F, L1<T1...>, L2<T2...>, ..., Ln<Tn...>>` applies `F` to each successive tuple of elements and returns `L1<F<T1, T2, ..., Tn>...>`.
|
||||
|
||||
Has limited support of value lists as `L...` under {cpp}17 (for one to three lists.)
|
||||
In that case, elements are wrapped with `mp_value` before being passed to `F`, and
|
||||
are unwrapped afterwards. The result is `L1<F<mp_value<T1>, mp_value<T2>, ...>::value...>`.
|
||||
|
||||
.Using mp_transform to produce a list of pointers from a list of pointees
|
||||
```
|
||||
template<class T> using add_pointer_t =
|
||||
|
||||
Reference in New Issue
Block a user