|
Boost-Commit : |
From: gennadiy.rozental_at_[hidden]
Date: 2008-01-21 12:02:54
Author: rogeeff
Date: 2008-01-21 12:02:53 EST (Mon, 21 Jan 2008)
New Revision: 42898
URL: http://svn.boost.org/trac/boost/changeset/42898
Log:
changed output of booleans
Text files modified:
trunk/boost/test/test_tools.hpp | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
Modified: trunk/boost/test/test_tools.hpp
==============================================================================
--- trunk/boost/test/test_tools.hpp (original)
+++ trunk/boost/test/test_tools.hpp 2008-01-21 12:02:53 EST (Mon, 21 Jan 2008)
@@ -377,6 +377,16 @@
//____________________________________________________________________________//
template<>
+struct BOOST_TEST_DECL print_log_value<bool> {
+ void operator()( std::ostream& ostr, bool t )
+ {
+ ostr << std::boolalpha << t;
+ }
+};
+
+//____________________________________________________________________________//
+
+template<>
struct BOOST_TEST_DECL print_log_value<char> {
void operator()( std::ostream& ostr, char t );
};
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