forked from boostorg/mp11
Update documentation
This commit is contained in:
@ -721,6 +721,8 @@ Like `mp_nth_element`, but takes a quoted metafunction.
|
||||
|
||||
It's equivalent to `mp_fold<mp_rest<L>, mp_first<L>, F>`, where `F<T, U>` returns `mp_if<P<T, U>, T, U>`.
|
||||
|
||||
Supports a value list as `L` under {cpp}17. In that case, the element is returned wrapped with `mp_value`.
|
||||
|
||||
## mp_min_element_q<L, Q>
|
||||
|
||||
template<class L, class Q> using mp_min_element_q = mp_min_element<L, Q::template fn>;
|
||||
@ -735,6 +737,8 @@ As `mp_min_element`, but takes a quoted metafunction.
|
||||
|
||||
It's equivalent to `mp_fold<mp_rest<L>, mp_first<L>, F>`, where `F<T, U>` returns `mp_if<P<U, T>, T, U>`.
|
||||
|
||||
Supports a value list as `L` under {cpp}17. In that case, the element is returned wrapped with `mp_value`.
|
||||
|
||||
## mp_max_element_q<L, Q>
|
||||
|
||||
template<class L, class Q> using mp_max_element_q = mp_max_element<L, Q::template fn>;
|
||||
|
@ -14,6 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
* Added `mp_sliding_fold`, a generalization of `mp_pairwise_fold` (contributed by Braden Ganetsky)
|
||||
* Added `mp_slice` (thanks to Braden Ganetsky)
|
||||
* Added value list support to `mp_min_element`, `mp_max_element`.
|
||||
|
||||
## Changes in 1.83.0
|
||||
|
||||
|
Reference in New Issue
Block a user