Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13280: "20170101" gives surprising result parsed as extended ISO 8601
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-12-21 20:01:35
#13280: "20170101" gives surprising result parsed as extended ISO 8601
--------------------------------------------+------------------------------
Reporter: Thomas Guest <thomas.guest@â¦> | Owner: James E. King,
| III
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: date_time
Version: Boost 1.65.0 | Severity: Problem
Resolution: worksforme | Keywords:
--------------------------------------------+------------------------------
Comment (by James E. King, III):
The documentation is clear on this one as well:
http://www.boost.org/doc/libs/1_66_0/doc/html/date_time/date_time_io.html
{{{
Exception Handling on Streams
When an error occurs during the input streaming process, the
std::ios_base::failbit
will (always) be set on the stream. It is also possible to have exceptions
thrown
when an error occurs. To "turn on" these exceptions, call the stream's
exceptions
function with a parameter of std::ios_base::failbit.
}}}
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13280#comment:5> 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-12-21 20:08:48 UTC