Skip to content
Snippets Groups Projects
Commit 32b9d3d2 authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[Test] Update integersequence test

parent 0c7f3bdd
No related branches found
No related tags found
1 merge request!82Feature/cleanup std utility
......@@ -18,9 +18,9 @@ array_to_tuple_impl ( const std::array< T, sizeof...( Ints ) > &array, Dune::Std
template< class T, std::size_t N >
auto array_to_tuple ( const std::array< T, N > &array )
-> decltype( array_to_tuple_impl( array, Dune::Std::make_index_sequence< N >() ) )
-> decltype( array_to_tuple_impl( array, Dune::Std::make_index_sequence< N >{} ) )
{
return array_to_tuple_impl( array, Dune::Std::make_index_sequence< N >() );
return array_to_tuple_impl( array, Dune::Std::make_index_sequence< N >{} );
}
int main ( int, char** )
......@@ -28,7 +28,7 @@ int main ( int, char** )
using Dune::operator<<;
std::array< int, 4 > array{{ 1, 2, 3, 4 }};
auto tuple = array_to_tuple_impl( array, Dune::Std::make_index_sequence< 4 >() );
auto tuple = array_to_tuple_impl( array, Dune::Std::make_index_sequence< 4 >{} );
std::cout << Dune::className( tuple ) << std::endl;
std::cout << tuple << std::endl;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment