Skip to content
Snippets Groups Projects
Commit 2c08ba6d authored by Jorrit Fahlke's avatar Jorrit Fahlke
Browse files

[tuplestest] Write the name of the tuple to stdout so we really known whether

the tested tuple is from Dune, std, or std::tr1.

[[Imported from SVN: r6317]]
parent fd296a3f
No related branches found
No related tags found
No related merge requests found
......@@ -23,9 +23,11 @@
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <ostream>
#include <string>
#include <vector>
#include <dune/common/classname.hh>
#include <dune/common/tuples.hh>
using namespace Dune;
......@@ -273,6 +275,7 @@ int tuple_tr1_test()
int main(int argc, char** argv)
{
tuple<float,int,double,char,std::string> tuple_;
std::cout << "=== testing tuple: " << className(tuple_) << std::endl;
test(tuple_);
test(static_cast<tuple<float,int,double,char,std::string>& >(tuple_));
......
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