Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75480 - in sandbox/chrono_date/boost/chrono/date: . detail
From: vicente.botet_at_[hidden]
Date: 2011-11-13 17:55:29


Author: viboes
Date: 2011-11-13 17:55:28 EST (Sun, 13 Nov 2011)
New Revision: 75480
URL: http://svn.boost.org/trac/boost/changeset/75480

Log:
Date use common to_string file
Text files modified:
   sandbox/chrono_date/boost/chrono/date/day.hpp | 2 +-
   sandbox/chrono_date/boost/chrono/date/detail/to_string.hpp | 26 +++++++++++++-------------
   2 files changed, 14 insertions(+), 14 deletions(-)

Modified: sandbox/chrono_date/boost/chrono/date/day.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/day.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/day.hpp 2011-11-13 17:55:28 EST (Sun, 13 Nov 2011)
@@ -9,13 +9,13 @@
 #ifndef BOOST_CHRONO_DATE_DATE_DAY_HPP
 #define BOOST_CHRONO_DATE_DATE_DAY_HPP
 
-
 #include <boost/cstdint.hpp>
 #include <boost/chrono/config.hpp>
 #include <boost/chrono/date/no_check.hpp>
 #include <boost/chrono/date/exceptions.hpp>
 #include <boost/chrono/date/detail/to_string.hpp>
 
+
 namespace boost
 {
   namespace chrono

Modified: sandbox/chrono_date/boost/chrono/date/detail/to_string.hpp
==============================================================================
--- sandbox/chrono_date/boost/chrono/date/detail/to_string.hpp (original)
+++ sandbox/chrono_date/boost/chrono/date/detail/to_string.hpp 2011-11-13 17:55:28 EST (Sun, 13 Nov 2011)
@@ -9,19 +9,19 @@
 #ifndef BOOST_CHRONO_DETAIL_TO_STRING_HPP
 #define BOOST_CHRONO_DETAIL_TO_STRING_HPP
 
-#include <boost/lexical_cast.hpp>
+#include <boost/chrono/io/utility/to_string.hpp>
 
-namespace boost
-{
- namespace chrono
- {
- template <typename T>
- std::string to_string(T const&v) {
- return lexical_cast<std::string>(v);
- }
-
- } // chrono
-
-} // boost
+//namespace boost
+//{
+// namespace chrono
+// {
+// template <typename T>
+// std::string to_string(T const&v) {
+// return lexical_cast<std::string>(v);
+// }
+//
+// } // chrono
+//
+//} // boost
 
 #endif // header


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