diff --git a/doc/mp11/algorithm.adoc b/doc/mp11/algorithm.adoc index a5b1ed1..ce7792c 100644 --- a/doc/mp11/algorithm.adoc +++ b/doc/mp11/algorithm.adoc @@ -91,7 +91,7 @@ using R1 = mp_apply - template class P, template class F, class L...> + template class P, template class F, class... L> using mp_transform_if = /*...*/; `mp_transform_if` replaces the elements of the list `L1` for which `mp_to_bool>` is `mp_true` with diff --git a/doc/mp11/utility.adoc b/doc/mp11/utility.adoc index c32f11d..b7e785b 100644 --- a/doc/mp11/utility.adoc +++ b/doc/mp11/utility.adoc @@ -80,7 +80,7 @@ otherwise. It's the same as `std::enable_if_t` in {cpp}14, or ## mp_if - template using mp_if = + template using mp_if = mp_if_c(C::value), T, E...>; Like `mp_if_c`, but the first argument is a type.