Add mp_transform_if_q

This commit is contained in:
Peter Dimov
2017-05-25 21:31:03 +03:00
parent 9371916c38
commit 6db4019341
5 changed files with 114 additions and 3 deletions

View File

@@ -39,6 +39,12 @@ As `mp_transform`, but takes a quoted metafunction.
`F<T1, T2, ..., Tn>`, and returns the result, where `Ti` are the corresponding elements of `Li`.
[endsect]
[section `mp_transform_if_q<Qp, Qf, L...>`]
template<class Qp, class Qf, class... L> using mp_transform_if_q = mp_transform_if<Qp::template fn, Qf::template fn, L...>;
As `mp_transform_if`, but takes a quoted metafunction.
[endsect]
[section `mp_fill<L, V>`]
template<class L, class V> using mp_fill = /*...*/;