Fix example

This commit is contained in:
Peter Dimov committed 2017-06-18 14:53:54 +03:00
1 parent 529aacb623
commit 5c7be526f9
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -565,7 +565,7 @@ template<class... T> void print( std::tuple<T...> const & tp )
{
std::size_t const N = sizeof...(T);
mp_for_each<mp_iota_c<N>>( []( auto I ){
mp_for_each<mp_iota_c<N>>( [&]( auto I ){
// I is mp_size_t<0>, mp_size_t<1>, ..., mp_size_t<N-1>