$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: jefffaust_at_[hidden]
Date: 2007-05-24 00:02:03
Author: jefffaust
Date: 2007-05-24 00:02:03 EDT (Thu, 24 May 2007)
New Revision: 4220
URL: http://svn.boost.org/trac/boost/changeset/4220
Log:
Print tuples as tuples, not as containers.  This is certainly what streaming should do.  Is it also true for print()?  I think so.
Text files modified: 
   sandbox/explore/libs/explore/test/boost_tuple.cpp |     9 +++++++--                               
   1 files changed, 7 insertions(+), 2 deletions(-)
Modified: sandbox/explore/libs/explore/test/boost_tuple.cpp
==============================================================================
--- sandbox/explore/libs/explore/test/boost_tuple.cpp	(original)
+++ sandbox/explore/libs/explore/test/boost_tuple.cpp	2007-05-24 00:02:03 EDT (Thu, 24 May 2007)
@@ -22,7 +22,10 @@
 
     boost::tuples::tuple<int, double> t(1, 3.14);
     explore::print(t, str_out);
-    BOOST_CHECK_EQUAL(str_out.str(), "[1, 3.14]");
+
+    // I think things that already have a way to print should not change
+    //BOOST_CHECK_EQUAL(str_out.str(), "[1, 3.14]");
+    BOOST_CHECK_EQUAL(str_out.str(), "(1 3.14)");
 }
 
 BOOST_AUTO_TEST_CASE( basic_tuple_stream_test )
@@ -32,5 +35,7 @@
 
     boost::tuples::tuple<int, double> t(1, 3.14);
     str_out << t;
-    BOOST_CHECK_EQUAL(str_out.str(), "[1, 3.14]");
+    // I think things that already have a way to print should not change
+    //BOOST_CHECK_EQUAL(str_out.str(), "[1, 3.14]");
+    BOOST_CHECK_EQUAL(str_out.str(), "(1 3.14)");
 }