1
0
forked from boostorg/mp11

Fix typos

This commit is contained in:
Peter Dimov
2018-02-07 20:56:47 +02:00
parent 3b5cdc2b22
commit a41fd401fd
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ using R1 = mp_apply<mp_plus,
## mp_transform_if<P, F, L...>
template<template<class...> class P, template<class...> class F, class L...>
template<template<class...> class P, template<class...> class F, class... L>
using mp_transform_if = /*...*/;
`mp_transform_if<P, F, L1, L2, ..., Ln>` replaces the elements of the list `L1` for which `mp_to_bool<P<T1, T2, ..., Tn>>` is `mp_true` with

View File

@@ -80,7 +80,7 @@ otherwise. It's the same as `std::enable_if_t<I::value == 5>` in {cpp}14, or
## mp_if<C, T, E...>
template<class C, class T, class E...> using mp_if =
template<class C, class T, class... E> using mp_if =
mp_if_c<static_cast<bool>(C::value), T, E...>;
Like `mp_if_c`, but the first argument is a type.