Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74373 - sandbox/stopwatches/boost/chrono/stopwatches/formatters
From: vicente.botet_at_[hidden]
Date: 2011-09-14 02:08:05


Author: viboes
Date: 2011-09-14 02:08:03 EDT (Wed, 14 Sep 2011)
New Revision: 74373
URL: http://svn.boost.org/trac/boost/changeset/74373

Log:
Stopwatches: Adding a parameterized duration_fmt manimulator
Text files modified:
   sandbox/stopwatches/boost/chrono/stopwatches/formatters/elapsed_formatter.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/stopwatches/boost/chrono/stopwatches/formatters/elapsed_formatter.hpp
==============================================================================
--- sandbox/stopwatches/boost/chrono/stopwatches/formatters/elapsed_formatter.hpp (original)
+++ sandbox/stopwatches/boost/chrono/stopwatches/formatters/elapsed_formatter.hpp 2011-09-14 02:08:03 EDT (Wed, 14 Sep 2011)
@@ -45,7 +45,7 @@
             style_(symbol)
       {
       }
- basic_elapsed_formatter(ostream_type& o) :
+ basic_elapsed_formatter(ostream_type& os) :
         internal_fmt_(BOOST_CHRONO_STOPWATCHES_ELAPSED_FORMAT_DEFAULT),
             fmt_(internal_fmt_), precision_(3), os_(os),
             style_(symbol)
@@ -61,7 +61,7 @@
         style_(symbol)
       {
       }
- basic_elapsed_formatter(format_type & fmt) :
+ basic_elapsed_formatter(format_type & fmt, ostream_type& os=std::cout) :
         fmt_(fmt), precision_(3), os_(os),
         style_(symbol)
       {


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