Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59164 - in sandbox/chrono/boost/chrono: . detail
From: vicente.botet_at_[hidden]
Date: 2010-01-20 14:41:03


Author: viboes
Date: 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
New Revision: 59164
URL: http://svn.boost.org/trac/boost/changeset/59164

Log:
Boost.Chrono: Version 0.3.1,
* rename detail/wide.hpp by adaptive_string.hpp
* rename function_stopwatch.hpp by scoped_stopwatch.hpp
* remove Stopwatch template parameter from stopclocks It will be fixed: stopwatch for stopclock and stopwatch_accumulator for stopclock_accumulator.hpp
Added:
   sandbox/chrono/boost/chrono/detail/adaptive_string.hpp (contents, props changed)
   sandbox/chrono/boost/chrono/scoped_stopclock.hpp (contents, props changed)
Removed:
   sandbox/chrono/boost/chrono/detail/wide.hpp
   sandbox/chrono/boost/chrono/function_stopclock.hpp
Text files modified:
   sandbox/chrono/boost/chrono/digital_time_formatter.hpp | 4 ++--
   sandbox/chrono/boost/chrono/stopclock.hpp | 23 ++++++++---------------
   sandbox/chrono/boost/chrono/stopclock_accumulator.hpp | 22 +++++++++-------------
   sandbox/chrono/boost/chrono/stopwatch_accumulator_formatter.hpp | 2 +-
   sandbox/chrono/boost/chrono/stopwatch_formatter.hpp | 2 +-
   sandbox/chrono/boost/chrono/stopwatches.hpp | 2 +-
   sandbox/chrono/boost/chrono/time_formatter.hpp | 2 +-
   7 files changed, 23 insertions(+), 34 deletions(-)

Added: sandbox/chrono/boost/chrono/detail/adaptive_string.hpp
==============================================================================
--- (empty file)
+++ sandbox/chrono/boost/chrono/detail/adaptive_string.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
@@ -0,0 +1,63 @@
+// boost/chrono/stopwatch_formatter.hpp ------------------------------------------------------------//
+
+// Copyright 2009-2010 Vicente J. Botet Escriba
+
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/system for documentation.
+
+#ifndef BOOST_CHRONO_DETAIL_ADAPTIVE_STRING__HPP
+#define BOOST_CHRONO_DETAIL_ADAPTIVE_STRING__HPP
+
+#include <string>
+
+namespace boost { namespace chrono {
+
+namespace detail {
+
+ /**
+ * this class is a shim between std::string type and wchar_t type.
+ * it accepts a std::string type and returns a std::string or
+ * std::wstring according to the context(e.g. type on the left side
+ * of '=' operator):
+ * - in case of a string type, it forwards the passed-in std::string
+ * - in case of a wstring type, it widens it passed-in std::string
+ * before forwarding
+ *
+ * typical usage:
+ * std::string s = adaptive_string("hello"); // s = "hello"
+ * std::wstring ws = adaptive_string("hello"); // ws = L"hello"
+ * N.B. it doe not do any code conversion like: MBCS <--> UNICODE
+ */
+
+ struct adaptive_string
+ {
+ adaptive_string(const std::string& s):str_(s)
+ {}
+
+ // implicit convert to any basic_string
+ template <
+ typename CharT,
+ typename Traits,
+ class Alloc
+ >
+ operator std::basic_string<CharT, Traits, Alloc>() const
+ {
+ //return str_;
+ std::basic_string<CharT, Traits, Alloc> s;
+ s.assign(str_.begin(), str_.end());
+ return s;
+ }
+
+ private:
+ const std::string& str_;
+ };
+
+
+} // namespace detail
+} // namespace chrono
+} // namespace boost
+
+
+#endif

Deleted: sandbox/chrono/boost/chrono/detail/wide.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/detail/wide.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
+++ (empty file)
@@ -1,73 +0,0 @@
-// boost/chrono/stopwatch_formatter.hpp ------------------------------------------------------------//
-
-// Copyright 2009-2010 Vicente J. Botet Escriba
-
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// See http://www.boost.org/libs/system for documentation.
-
-#ifndef BOOST_CHRONO_DETAIL_ADAPTIVE_STRING__HPP
-#define BOOST_CHRONO_DETAIL_ADAPTIVE_STRING__HPP
-
-#include <string>
-
-namespace boost { namespace chrono {
-
-namespace detail {
-
- /**
- * this class is a shim between std::string type and wchar_t type.
- * it accepts a std::string type and returns a std::string or
- * std::wstring according to the context(e.g. type on the left side
- * of '=' operator):
- * - in case of a string type, it forwards the passed-in std::string
- * - in case of a wstring type, it widens it passed-in std::string
- * before forwarding
- *
- * typical usage:
- * std::string s = adaptive_string("hello"); // s = "hello"
- * std::wstring ws = adaptive_string("hello"); // ws = L"hello"
- * N.B. it doe not do any code conversion like: MBCS <--> UNICODE
- */
-
- struct adaptive_string
- {
- adaptive_string(const std::string& s):str_(s)
- {}
-
- // implicit convert to string
- template <
- typename Traits,
- class Alloc
- >
- operator std::basic_string<char, Traits, Alloc>() const
- {
- //return str_;
- std::basic_string<char, Traits, Alloc> s;
- s.assign(str_.begin(), str_.end());
- return s;
- }
- // implicit convert to wstring
- template <
- typename Traits,
- class Alloc
- >
- operator std::basic_string<wchar_t, Traits, Alloc>() const
- {
- std::basic_string<wchar_t, Traits, Alloc> ws;
- ws.assign(str_.begin(), str_.end());
- return ws;
- }
-
- private:
- const std::string& str_;
- };
-
-
-} // namespace detail
-} // namespace chrono
-} // namespace boost
-
-
-#endif

Modified: sandbox/chrono/boost/chrono/digital_time_formatter.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/digital_time_formatter.hpp (original)
+++ sandbox/chrono/boost/chrono/digital_time_formatter.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
@@ -14,7 +14,7 @@
 #include <boost/chrono/digital_time.hpp>
 #include <boost/current_function.hpp>
 #include <boost/chrono/detail/default_out.hpp>
-#include <boost/chrono/detail/wide.hpp>
+#include <boost/chrono/detail/adaptive_string.hpp>
 #include <boost/system/error_code.hpp>
 #include <boost/cstdint.hpp>
 #include <string>
@@ -139,7 +139,7 @@
     template <typename CharT,typename Traits, class Alloc>
     const typename basic_digital_time_formatter<CharT,Traits,Alloc>::char_type*
     basic_digital_time_formatter<CharT,Traits,Alloc>::default_format() {
- return detail::basic_stopwatch_formatter_default_format<CharT>::apply();
+ return detail::basic_digital_time_formatter_default_format<CharT>::apply();
     }
 
     template <typename CharT,typename Traits, class Alloc>

Deleted: sandbox/chrono/boost/chrono/function_stopclock.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/function_stopclock.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
+++ (empty file)
@@ -1,120 +0,0 @@
-// boost/chrono/stopclock.hpp ------------------------------------------------------------//
-
-// Copyright 2009-2010 Vicente J. Botet Escriba
-
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-// See http://www.boost.org/libs/system for documentation.
-
-#ifndef BOOST_CHRONO_FUNCTION_STOPCLOCK_HPP
-#define BOOST_CHRONO_FUNCTION_STOPCLOCK_HPP
-
-#include <boost/chrono/stopwatch_reporter.hpp>
-#include <boost/chrono/stopwatch.hpp>
-#include <boost/chrono/process_cpu_clocks.hpp>
-#include <boost/chrono/time_formatter.hpp>
-
-#include <boost/config/abi_prefix.hpp> // must be the last #include
-
-namespace boost { namespace chrono {
-
-//--------------------------------------------------------------------------------------//
-//~ provides a everything a Timer provides and it adds reporting capabilities that can be invoked in a single line of code. The reporting is controleed by two parameters:
-
- //~ * format : The output format
- //~ * places(precission): the number of decimal placess used.
-
-//~ The default places is given by default_places and is 3. The default format is "\n%ts\n", where
-
- //~ * %t : the result of elapsed() when the reporting is done.
-
-//~ The time is given using the suffix "s" following the System International d'Unites Std.
-
-/* void f1()
- * {
- * stopclock<> _;
- * // ...
- * }
- */
-//--------------------------------------------------------------------------------------//
-
- template <class Clock=process_cpu_clock, class Stopwatch=stopwatch<Clock>, class Formatter=typename stopwatch_reporter_default_formatter<Stopwatch>::type>
- class function_stopclock : public stopwatch_reporter<Stopwatch, Formatter> {
- typedef stopwatch_reporter<Stopwatch, Formatter> base_type;
- public:
- typedef Clock clock;
- typedef Stopwatch stopwatch;
- typedef Formatter formatter;
- typedef typename Formatter::string_type string_type;
- typedef typename Formatter::char_type char_type;
- typedef typename Formatter::ostream_type ostream_type;
-
- explicit function_stopclock( const string_type& func, system::error_code & ec = system::throws )
- : base_type(ec), func_(func)
- { begin(); }
- function_stopclock( const string_type& func, ostream_type & os,
- system::error_code & ec = system::throws )
- : base_type(os, ec), func_(func)
- { begin(); }
-
- function_stopclock( const string_type& func, const string_type & format,
- system::error_code & ec = system::throws )
- : base_type(format, ec), func_(func)
- { begin(); }
-
- function_stopclock( const string_type& func, int places,
- system::error_code & ec = system::throws )
- : base_type(places, ec), func_(func)
- { begin(); }
-
- function_stopclock( const string_type& func, ostream_type & os, const string_type & format,
- system::error_code & ec = system::throws )
- : base_type(os, format, ec), func_(func)
- { begin(); }
-
- function_stopclock( const string_type& func, const string_type & format, int places,
- system::error_code & ec = system::throws )
- : base_type(format, places, ec), func_(func)
- { begin(); }
-
- function_stopclock( const string_type& func, ostream_type & os, int places,
- system::error_code & ec = system::throws )
- : base_type(os, places, ec), func_(func)
- { begin(); }
-
- function_stopclock( const string_type& func, int places, const string_type & format,
- system::error_code & ec = system::throws )
- : base_type(places, format, ec), func_(func)
- { begin(); }
-
- function_stopclock( const string_type& func, ostream_type & os, const string_type & format, int places,
- system::error_code & ec = system::throws )
- : base_type(os, format, places, ec), func_(func)
- { begin(); }
-
- function_stopclock( const string_type& func, ostream_type & os, int places, const string_type & format,
- system::error_code & ec = system::throws )
- : base_type(os, places, format, ec), func_(func)
- { begin(); }
-
- ~function_stopclock() {
- this->m_os << "}}} " << func_ << " : ";
- }
- typedef typename base_type::scoped_run scoped_run;
- typedef typename base_type::scoped_suspend scoped_suspend;
- typedef typename base_type::scoped_resume scoped_resume;
- private:
- void begin() {
- this->m_os << "{{{ " << func_ << std::endl;
- }
- string_type func_;
-
- };
-
- } // namespace chrono
-} // namespace boost
-
-#include <boost/config/abi_suffix.hpp> // pops abi_prefix.hpp pragmas
-
-#endif // BOOST_CHRONO_STOPCLOCK_HPP

Added: sandbox/chrono/boost/chrono/scoped_stopclock.hpp
==============================================================================
--- (empty file)
+++ sandbox/chrono/boost/chrono/scoped_stopclock.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
@@ -0,0 +1,121 @@
+// boost/chrono/stopclock.hpp ------------------------------------------------------------//
+
+// Copyright 2009-2010 Vicente J. Botet Escriba
+
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+// See http://www.boost.org/libs/system for documentation.
+
+#ifndef BOOST_CHRONO_SCOPED_STOPCLOCK_HPP
+#define BOOST_CHRONO_SCOPED_STOPCLOCK_HPP
+
+#include <boost/chrono/stopwatch_reporter.hpp>
+#include <boost/chrono/stopwatch.hpp>
+#include <boost/chrono/process_cpu_clocks.hpp>
+#include <boost/chrono/time_formatter.hpp>
+
+#include <boost/config/abi_prefix.hpp> // must be the last #include
+
+namespace boost { namespace chrono {
+
+//--------------------------------------------------------------------------------------//
+//~ provides a everything a Timer provides and it adds reporting capabilities that can be invoked in a single line of code. The reporting is controleed by two parameters:
+
+ //~ * format : The output format
+ //~ * places(precission): the number of decimal placess used.
+
+//~ The default places is given by default_places and is 3. The default format is "\n%ts\n", where
+
+ //~ * %t : the result of elapsed() when the reporting is done.
+
+//~ The time is given using the suffix "s" following the System International d'Unites Std.
+
+/* void f1()
+ * {
+ * stopclock<> _;
+ * // ...
+ * }
+ */
+//--------------------------------------------------------------------------------------//
+
+ template <class Clock=process_cpu_clock, class Formatter=typename stopwatch_reporter_default_formatter<chrono::stopwatch<Clock> >::type >
+ class scoped_stopclock
+ : public stopwatch_reporter<chrono::stopwatch<Clock>, Formatter> {
+ typedef stopwatch_reporter<chrono::stopwatch<Clock>, Formatter> base_type;
+ public:
+ typedef Clock clock;
+ typedef chrono::stopwatch<Clock> stopwatch;
+ typedef Formatter formatter;
+ typedef typename Formatter::string_type string_type;
+ typedef typename Formatter::char_type char_type;
+ typedef typename Formatter::ostream_type ostream_type;
+
+ explicit scoped_stopclock( const string_type& func, system::error_code & ec = system::throws )
+ : base_type(ec), func_(func)
+ { begin(); }
+ scoped_stopclock( const string_type& func, ostream_type & os,
+ system::error_code & ec = system::throws )
+ : base_type(os, ec), func_(func)
+ { begin(); }
+
+ scoped_stopclock( const string_type& func, const string_type & format,
+ system::error_code & ec = system::throws )
+ : base_type(format, ec), func_(func)
+ { begin(); }
+
+ scoped_stopclock( const string_type& func, int places,
+ system::error_code & ec = system::throws )
+ : base_type(places, ec), func_(func)
+ { begin(); }
+
+ scoped_stopclock( const string_type& func, ostream_type & os, const string_type & format,
+ system::error_code & ec = system::throws )
+ : base_type(os, format, ec), func_(func)
+ { begin(); }
+
+ scoped_stopclock( const string_type& func, const string_type & format, int places,
+ system::error_code & ec = system::throws )
+ : base_type(format, places, ec), func_(func)
+ { begin(); }
+
+ scoped_stopclock( const string_type& func, ostream_type & os, int places,
+ system::error_code & ec = system::throws )
+ : base_type(os, places, ec), func_(func)
+ { begin(); }
+
+ scoped_stopclock( const string_type& func, int places, const string_type & format,
+ system::error_code & ec = system::throws )
+ : base_type(places, format, ec), func_(func)
+ { begin(); }
+
+ scoped_stopclock( const string_type& func, ostream_type & os, const string_type & format, int places,
+ system::error_code & ec = system::throws )
+ : base_type(os, format, places, ec), func_(func)
+ { begin(); }
+
+ scoped_stopclock( const string_type& func, ostream_type & os, int places, const string_type & format,
+ system::error_code & ec = system::throws )
+ : base_type(os, places, format, ec), func_(func)
+ { begin(); }
+
+ ~scoped_stopclock() {
+ this->m_os << "}}} " << func_ << " : ";
+ }
+ typedef typename base_type::scoped_run scoped_run;
+ typedef typename base_type::scoped_suspend scoped_suspend;
+ typedef typename base_type::scoped_resume scoped_resume;
+ private:
+ void begin() {
+ this->m_os << "{{{ " << func_ << std::endl;
+ }
+ string_type func_;
+
+ };
+
+ } // namespace chrono
+} // namespace boost
+
+#include <boost/config/abi_suffix.hpp> // pops abi_prefix.hpp pragmas
+
+#endif // BOOST_CHRONO_STOPCLOCK_HPP

Modified: sandbox/chrono/boost/chrono/stopclock.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/stopclock.hpp (original)
+++ sandbox/chrono/boost/chrono/stopclock.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
@@ -21,10 +21,6 @@
 
 #include <boost/config/abi_prefix.hpp> // must be the last #include
 
-#ifndef BOOST_CHRONO_USES_MPL_ASSERT
-#define BOOST_CHRONO_S_STOPWATCH_CLOCK_MUST_BE_CLOCK "Stopwatch::clock must be the same as Clock"
-#endif
-
 namespace boost { namespace chrono {
 
 //--------------------------------------------------------------------------------------//
@@ -47,23 +43,20 @@
  */
 //--------------------------------------------------------------------------------------//
 
- template <class Clock=process_cpu_clock, class Stopwatch=stopwatch<Clock>, class Formatter=typename stopwatch_reporter_default_formatter<Stopwatch>::type>
+ template <class Clock=process_cpu_clock, class Formatter=typename stopwatch_reporter_default_formatter<stopwatch<Clock> >::type>
     class stopclock;
 
- template <class Clock, class Stopwatch, class Formatter>
- struct stopwatch_reporter_default_formatter<stopclock<Clock,Stopwatch, Formatter> > {
- typedef typename stopwatch_reporter_default_formatter<Stopwatch>::type type;
+ template <class Clock, class Formatter>
+ struct stopwatch_reporter_default_formatter<stopclock<Clock,Formatter> > {
+ typedef typename stopwatch_reporter_default_formatter<stopwatch<Clock> >::type type;
     };
 
- template <class Clock, class Stopwatch, class Formatter>
- class stopclock : public stopwatch_reporter<Stopwatch, Formatter> {
- BOOST_CHRONO_STATIC_ASSERT((boost::is_same<typename Stopwatch::clock, Clock>::value),
- BOOST_CHRONO_S_STOPWATCH_CLOCK_MUST_BE_CLOCK, (Stopwatch)(Stopwatch::clock)(Clock));
-
- typedef stopwatch_reporter<Stopwatch, Formatter> base_type;
+ template <class Clock, class Formatter>
+ class stopclock : public stopwatch_reporter<chrono::stopwatch<Clock>, Formatter> {
+ typedef stopwatch_reporter<chrono::stopwatch<Clock>, Formatter> base_type;
     public:
         typedef Clock clock;
- typedef Stopwatch stopwatch;
+ typedef chrono::stopwatch<Clock> stopwatch;
         typedef Formatter formatter;
         typedef typename Formatter::string_type string_type;
         typedef typename Formatter::char_type char_type;

Modified: sandbox/chrono/boost/chrono/stopclock_accumulator.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/stopclock_accumulator.hpp (original)
+++ sandbox/chrono/boost/chrono/stopclock_accumulator.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
@@ -43,25 +43,21 @@
  * }
  */
 //--------------------------------------------------------------------------------------//
-#ifndef BOOST_CHRONO_USES_MPL_ASSERT
-#define BOOST_CHRONO_SA_STOPWATCH_CLOCK_MUST_BE_CLOCK "Stopwatch::clock must be the same as Clock"
-#endif
- template <class Clock=high_resolution_clock, class Stopwatch=stopwatch_accumulator<Clock>, class Formatter=typename stopwatch_reporter_default_formatter<Stopwatch>::type>
+
+ template <class Clock=high_resolution_clock, class Formatter=typename stopwatch_reporter_default_formatter<stopwatch_accumulator<Clock> >::type>
     class stopclock_accumulator;
 
- template <class Clock, class Stopwatch, class Formatter>
- struct stopwatch_reporter_default_formatter<stopclock_accumulator<Clock,Stopwatch, Formatter> > {
- typedef typename stopwatch_reporter_default_formatter<Stopwatch>::type type;
+ template <class Clock, class Formatter>
+ struct stopwatch_reporter_default_formatter<stopclock_accumulator<Clock,Formatter> > {
+ typedef typename stopwatch_reporter_default_formatter<stopwatch_accumulator<Clock> >::type type;
     };
 
- template <class Clock, class Stopwatch, class Formatter>
- class stopclock_accumulator : public stopwatch_reporter<Stopwatch, Formatter> {
- BOOST_CHRONO_STATIC_ASSERT((boost::is_same<typename Stopwatch::clock, Clock>::value),
- BOOST_CHRONO_S_STOPWATCH_CLOCK_MUST_BE_CLOCK, (Stopwatch)(Stopwatch::clock)(Clock));
- typedef stopwatch_reporter<Stopwatch, Formatter> base_type;
+ template <class Clock, class Formatter>
+ class stopclock_accumulator : public stopwatch_reporter<stopwatch_accumulator<Clock>, Formatter> {
+ typedef stopwatch_reporter<stopwatch_accumulator<Clock>, Formatter> base_type;
     public:
         typedef Clock clock;
- typedef Stopwatch stopwatch;
+ typedef stopwatch_accumulator<Clock> stopwatch;
         typedef Formatter formatter;
         typedef typename Formatter::string_type string_type;
         typedef typename Formatter::char_type char_type;

Modified: sandbox/chrono/boost/chrono/stopwatch_accumulator_formatter.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/stopwatch_accumulator_formatter.hpp (original)
+++ sandbox/chrono/boost/chrono/stopwatch_accumulator_formatter.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
@@ -14,7 +14,7 @@
 #include <boost/system/error_code.hpp>
 #include <boost/current_function.hpp>
 #include <boost/chrono/detail/default_out.hpp>
-#include <boost/chrono/detail/wide.hpp>
+#include <boost/chrono/detail/adaptive_string.hpp>
 #include <boost/accumulators/accumulators.hpp>
 #include <boost/accumulators/statistics.hpp>
 #include <boost/accumulators/framework/accumulator_set.hpp>

Modified: sandbox/chrono/boost/chrono/stopwatch_formatter.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/stopwatch_formatter.hpp (original)
+++ sandbox/chrono/boost/chrono/stopwatch_formatter.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
@@ -14,7 +14,7 @@
 #include <boost/system/error_code.hpp>
 #include <boost/current_function.hpp>
 #include <boost/chrono/detail/default_out.hpp>
-#include <boost/chrono/detail/wide.hpp>
+#include <boost/chrono/detail/adaptive_string.hpp>
 #include <boost/cstdint.hpp>
 #include <string>
 #include <iostream>

Modified: sandbox/chrono/boost/chrono/stopwatches.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/stopwatches.hpp (original)
+++ sandbox/chrono/boost/chrono/stopwatches.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
@@ -16,7 +16,7 @@
 //-----------------------------------------------------------------------------
 #include <boost/chrono/digital_time.hpp>
 #include <boost/chrono/digital_time_formatter.hpp>
-#include <boost/chrono/function_stopclock.hpp>
+#include <boost/chrono/scoped_stopclock.hpp>
 #include <boost/chrono/process_cpu_clocks.hpp>
 #include <boost/chrono/stopclock.hpp>
 #include <boost/chrono/stopclock_accumulator.hpp>

Modified: sandbox/chrono/boost/chrono/time_formatter.hpp
==============================================================================
--- sandbox/chrono/boost/chrono/time_formatter.hpp (original)
+++ sandbox/chrono/boost/chrono/time_formatter.hpp 2010-01-20 14:41:01 EST (Wed, 20 Jan 2010)
@@ -14,7 +14,7 @@
 #include <boost/chrono/process_cpu_clocks.hpp>
 #include <boost/current_function.hpp>
 #include <boost/chrono/detail/default_out.hpp>
-#include <boost/chrono/detail/wide.hpp>
+#include <boost/chrono/detail/adaptive_string.hpp>
 #include <boost/system/error_code.hpp>
 #include <boost/cstdint.hpp>
 #include <string>


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