diff --git a/doc/mp11/algorithm.adoc b/doc/mp11/algorithm.adoc index ab7b793..ea9ec3b 100644 --- a/doc/mp11/algorithm.adoc +++ b/doc/mp11/algorithm.adoc @@ -907,6 +907,8 @@ 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>`. + ## mp_with_index(i, f) template