diff --git a/doc/mp11/tuple.adoc b/doc/mp11/tuple.adoc index 4b190f8..7e0d864 100644 --- a/doc/mp11/tuple.adoc +++ b/doc/mp11/tuple.adoc @@ -45,12 +45,11 @@ Returns `std::forward(f)`. (`std::tuple`, `std::pair` and `std::array` are considered tuples.) The callable `f` must accept as many arguments as there are tuples. The function object is called with the -first elements of each tuple, then with the second element of each tuple, and so on, as if by evaluating +first elements of each tuple, with the second elements of each tuple, and so on, as if by evaluating the expression `f(std::get(std::forward(tp))...)` for `J` in 0..`N-1`, where `N` is the length of the tuples. +The order in which the elements of the tuples are processed is unspecified. + The results are returned as a `std::tuple` with `T...` deduced from the return values of `f` (lvalue references are preserved, rvalue references are returned by value.) - -The order in which the elements of the tuples are processed is unspecified. Calling `f` should not have -side effects.