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>;
|
||||
|
||||
Reference in New Issue
Block a user