1
0
forked from boostorg/mp11

Update documentation of tuple_for_each

This commit is contained in:
Peter Dimov
2020-05-24 04:36:29 +03:00
parent cad3c61045
commit 588bc4458a

View File

@ -32,7 +32,7 @@ The name of the function doesn't match the {cpp}17 one to avoid ambiguities when
template<class Tp, class F> constexpr F tuple_for_each(Tp&& tp, F&& f);
`tuple_for_each(tp, f)` applies the function object `f` to each element of `tp` by evaluating the
`tuple_for_each(tp, f)` applies the function object `f` to each element of `tp` in order by evaluating the
expression `f(std::get<J>(std::forward<Tp>(tp)))` for `J` in 0..`N-1`, where `N` is `std::tuple_size<typename std::remove_reference<Tp>::type>::value`.
Returns `std::forward<F>(f)`.