Re: [Boost-bugs] [Boost C++ Libraries] #7525: Wrong clock_string<system_clock>::since() on Windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7525: Wrong clock_string<system_clock>::since() on Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-22 17:22:34


#7525: Wrong clock_string<system_clock>::since() on Windows
-------------------------------+--------------------------------------------
  Reporter: oliora@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: chrono
   Version: Boost 1.51.0 | Severity: Cosmetic
Resolution: | Keywords: chrono system_clock windows
-------------------------------+--------------------------------------------

Comment (by viboes):

 Hi,

 I believed that just changing the clock_string<system_clock>::since() for
 windows will be enough. However, if we want to be able to read a
 time_point output generated by a Windows machine from a Linux machine the
 parser needs to be aware of the differences.

 An alternative is to use always "since Jan 1, 1900" and adapt the
 operators << and >> only on Windows machines. What do you think?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7525#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC