forked from boostorg/mp11
Fix typos
This commit is contained in:
@@ -91,7 +91,7 @@ using R1 = mp_apply<mp_plus,
|
|||||||
|
|
||||||
## mp_transform_if<P, F, L...>
|
## 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 = /*...*/;
|
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
|
`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
|
||||||
|
@@ -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...>
|
## 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...>;
|
mp_if_c<static_cast<bool>(C::value), T, E...>;
|
||||||
|
|
||||||
Like `mp_if_c`, but the first argument is a type.
|
Like `mp_if_c`, but the first argument is a type.
|
||||||
|
Reference in New Issue
Block a user