diff --git a/doc/mp11/tuple.adoc b/doc/mp11/tuple.adoc index 7e0d864..bd7fe33 100644 --- a/doc/mp11/tuple.adoc +++ b/doc/mp11/tuple.adoc @@ -32,7 +32,7 @@ The name of the function doesn't match the {cpp}17 one to avoid ambiguities when template 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(std::forward(tp)))` for `J` in 0..`N-1`, where `N` is `std::tuple_size::type>::value`. Returns `std::forward(f)`.