From a41fd401fd656db647b153ab4c96887ccd499a6d Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 7 Feb 2018 20:56:47 +0200 Subject: [PATCH] Fix typos --- doc/mp11/algorithm.adoc | 2 +- doc/mp11/utility.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.