Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69610 - sandbox/type_traits/libs/type_traits/test
From: frederic.bron_at_[hidden]
Date: 2011-03-06 13:36:47


Author: bronf
Date: 2011-03-06 13:36:45 EST (Sun, 06 Mar 2011)
New Revision: 69610
URL: http://svn.boost.org/trac/boost/changeset/69610

Log:
operator traits: ostream and istream used as references in tests
Text files modified:
   sandbox/type_traits/libs/type_traits/test/has_operator_left_shift_test.cpp | 2 +-
   sandbox/type_traits/libs/type_traits/test/has_operator_right_shift_test.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/type_traits/libs/type_traits/test/has_operator_left_shift_test.cpp
==============================================================================
--- sandbox/type_traits/libs/type_traits/test/has_operator_left_shift_test.cpp (original)
+++ sandbox/type_traits/libs/type_traits/test/has_operator_left_shift_test.cpp 2011-03-06 13:36:45 EST (Sun, 06 Mar 2011)
@@ -21,7 +21,7 @@
 #include <ostream>
 #include <string>
 
-#define TEST_SPECIFIC(T) TEST_TTR(std::ostream, T, std::ostream, true)
+#define TEST_SPECIFIC(T) TEST_TTR(std::ostream&, T, std::ostream&, true)
 namespace {
 
 void specific() {

Modified: sandbox/type_traits/libs/type_traits/test/has_operator_right_shift_test.cpp
==============================================================================
--- sandbox/type_traits/libs/type_traits/test/has_operator_right_shift_test.cpp (original)
+++ sandbox/type_traits/libs/type_traits/test/has_operator_right_shift_test.cpp 2011-03-06 13:36:45 EST (Sun, 06 Mar 2011)
@@ -20,7 +20,7 @@
 
 #include <istream>
 
-#define TEST_SPECIFIC(T) TEST_TTR(std::istream, T, std::istream, true)
+#define TEST_SPECIFIC(T) TEST_TTR(std::istream&, T, std::istream&, true)
 namespace {
 
 void specific() {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk