Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11619: Chrono V2 IO - format tags 'unsupported'?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-04 22:01:32
#11619: Chrono V2 IO - format tags 'unsupported'?
-------------------------------+----------------------------
Reporter: steve.hickman@⦠| Owner: viboes
Type: Support Requests | Status: new
Milestone: To Be Determined | Component: chrono
Version: Boost 1.59.0 | Severity: Not Applicable
Resolution: | Keywords:
-------------------------------+----------------------------
Comment (by viboes):
In http://www.boost.org/doc/libs/1_59_0/doc/html/chrono.html you can find
the reference to the recomendation on which these tags arebased.
"
system_clock::time_point I/O is proposed in terms of UTC timepoints,
strongly guided by ISO 9899:1999, Programming languages - C, ISO
9945:2003, Information Technology - Portable Operating System Interface
(POSIX) and ISO 8601:2004, Data elements and interchange formats -
Information interchange - Representation of dates and times.
"
By not supported I mean that it is not a valid tag and so it will result
on an error (std::ios_base::failbit) as any standard IO operation does. It
works as the std::time_get facet.
It could add this if this is of any help to you. I expected that the user
was aware of how standard IO facilities work.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11619#comment:1> 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:19 UTC