From d0e6e29abb40e9fdbef1387599842d0f1e355003 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 2 Jun 2019 17:52:04 +0300 Subject: [PATCH] Fix mp_with_index example --- doc/mp11/algorithm.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/mp11/algorithm.adoc b/doc/mp11/algorithm.adoc index 2b2b89a..6dcf9a3 100644 --- a/doc/mp11/algorithm.adoc +++ b/doc/mp11/algorithm.adoc @@ -743,7 +743,7 @@ template void print( std::variant const& v ) { mp_with_index( v.index(), [&]( auto I ) { - // I is mp_size_t here + // I is mp_size_t{} here std::cout << std::get( v ) << std::endl;