diff --git a/doc/mp11/algorithm.adoc b/doc/mp11/algorithm.adoc index ea9ec3b..26d5706 100644 --- a/doc/mp11/algorithm.adoc +++ b/doc/mp11/algorithm.adoc @@ -907,7 +907,9 @@ template void print( std::tuple const & tp ) } ``` -In case the elements of the list `L` are not default-constructible, you can use `mp_for_each>`. +In case the elements of the list `L` are not default-constructible, you can use +`mp_for_each>`, which would call `f` with `mp_identity()` +instead of `T()`. ## mp_with_index(i, f)