Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68117 - trunk/boost/chrono
From: vicente.botet_at_[hidden]
Date: 2011-01-13 13:19:44


Author: viboes
Date: 2011-01-13 13:19:43 EST (Thu, 13 Jan 2011)
New Revision: 68117
URL: http://svn.boost.org/trac/boost/changeset/68117

Log:
Boost.Chrono: Remove BOOST_CHRONO_IO_INPUT macro

Text files modified:
   trunk/boost/chrono/chrono_io.hpp | 8 --------
   1 files changed, 0 insertions(+), 8 deletions(-)

Modified: trunk/boost/chrono/chrono_io.hpp
==============================================================================
--- trunk/boost/chrono/chrono_io.hpp (original)
+++ trunk/boost/chrono/chrono_io.hpp 2011-01-13 13:19:43 EST (Thu, 13 Jan 2011)
@@ -13,8 +13,6 @@
 #ifndef BOOST_CHRONO_CHRONO_IO_HPP
 #define BOOST_CHRONO_CHRONO_IO_HPP
 
-#define BOOST_CHRONO_IO_INPUT
-
 #include <boost/chrono/chrono.hpp>
 #include <boost/chrono/process_cpu_clocks.hpp>
 #include <boost/chrono/thread_clock.hpp>
@@ -24,9 +22,7 @@
 #include <boost/type_traits/is_signed.hpp>
 #include <boost/mpl/if.hpp>
 #include <boost/math/common_factor_rt.hpp>
-#ifdef BOOST_CHRONO_IO_INPUT
 #include <boost/chrono/detail/scan_keyword.hpp>
-#endif
 
 namespace boost
 {
@@ -212,7 +208,6 @@
 
 }
 
-#ifdef BOOST_CHRONO_IO_INPUT
 template <class CharT, class Traits, class Rep, class Period>
 std::basic_istream<CharT, Traits>&
 operator>>(std::basic_istream<CharT, Traits>& is, duration<Rep, Period>& d)
@@ -475,7 +470,6 @@
         is.setstate(is.failbit);
     return is;
 }
-#endif
 
 template <class Clock, class CharT>
 struct clock_string;
@@ -623,7 +617,6 @@
     return os << tp.time_since_epoch() << clock_string<Clock, CharT>::since();
 }
 
-#ifdef BOOST_CHRONO_IO_INPUT
 template <class CharT, class Traits, class Clock, class Duration>
 std::basic_istream<CharT, Traits>&
 operator>>(std::basic_istream<CharT, Traits>& is,
@@ -654,7 +647,6 @@
         is.setstate(is.failbit);
     return is;
 }
-#endif
 } // chrono
 
 }


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