diff --git a/doc/html/mp11.html b/doc/html/mp11.html index 8994454..f419f7b 100644 --- a/doc/html/mp11.html +++ b/doc/html/mp11.html @@ -69,6 +69,10 @@
mp_rename<L,
Y>
mp_append<L...>
mp_replace_front<L, T>
mp_replace_first<L, T>
mp_replace_second<L, T>
mp_replace_third<L, T>
<boost/mp11/utility.hpp>
mp_assign<L1, L2>
mp_clear<L>
mp_transform<F, L...>
mp_transform_if<P, F, L>
mp_transform_if<P, F, L...>
mp_fill<L, V>
mp_count<L, V>
mp_count_if<L, P>
mp_take<L, N>
mp_replace<L, V, W>
mp_replace_if<L, P, W>
mp_replace_at_c<L, I, W>
mp_replace_at<L, I, W>
mp_copy_if<L, P>
mp_remove<L, V>
mp_remove_if<L, P>
L1<T1..., T2..., ..., Tn...>
.
+template<class L, class T> using mp_replace_front = /*...*/; ++
+ mp_replace_front<L, T>
replaces the first element of the list
+ L
with T
.
+ That is, mp_replace_front<L<U1, U...>,
+ T>
+ is an alias for L<T, U...>
.
+
template<class L, class T> using mp_replace_first = mp_replace_front<L, T>; ++
+ mp_replace_first
is another
+ name for mp_replace_front
.
+
template<class L, class T> using mp_replace_second = /*...*/; ++
+ mp_replace_second<L, T>
replaces the second element of the
+ list L
with T
. That is, mp_replace_second<L<U1, U2, U...>,
+ T>
+ is an alias for L<U1, T, U...>
.
+
template<class L, class T> using mp_replace_third = /*...*/; ++
+ mp_replace_third<L, T>
replaces the third element of the list
+ L
with T
.
+ That is, mp_replace_third<L<U1, U2, U3, U...>,
+ T>
+ is an alias for L<U1, U2, T, U...>
.
+
template<template<class...> class P, template<class...> class F, class L> using mp_transform_if = /*...*/; +template<template<class...> class P, template<class...> class F, class L...> using mp_transform_if = /*...*/;-
mp_transform_if
replaces - the elementsT
ofL
for whichmp_to_bool<P<T>>
ismp_true
- withF<T>
, - and returns the result. +mp_transform_if<P, F, L1, L2, ..., Ln>
+ replaces the elementsT
+ of the listL1
for which +mp_to_bool<P<T1, T2, ..., Tn>>
ismp_true
+ withF<T1, T2, ..., Tn>
, and returns the result, whereTi
are the corresponding elements of +Li
.
template<class L, std::size_t I, class W> using mp_replace_at_c = /*...*/; ++
+ Replaces the element of L
+ at zero-based index I
with
+ W
and returns the result.
+
template<class L, class I, class W> using mp_replace_at = /*...*/; ++
+ Same as mp_replace_at_c
,
+ but with a type argument I
.
+ I::value
must be a nonnegative number.
+
template<class L, template<class...> class P> using mp_copy_if = /*...*/; @@ -1604,7 +1688,7 @@
Last revised: March 17, 2017 at 03:26:57 GMT |
+Last revised: March 18, 2017 at 18:33:25 GMT |
`]
- template class P, template `]
+ template class P, template >` is `mp_true` with `F ` replaces the elements `T` of the list `L1` for which `mp_to_bool >` is `mp_true` with
+`F >` is `mp_true` with `W` and returns the result.
[endsect]
+[section `mp_replace_at_c