From f8c3c1ae04184b27aeaca5a9cc9251a62488fa1a Mon Sep 17 00:00:00 2001
From: Howard Hinnant
+Each
+Each
Howard E. Hinnant
-2017-07-17
+2017-07-27
Extending
@@ -59,7 +59,9 @@ Document number: D0355R4<chrono>
to Calendars and Time Zones
Changes since R3
-
list<tzdb>
instead of a single tzdb
.from_stream
and to_stream
customization points.list<tzdb>
+instead of a single tzdb
.string_view
.23.17.8 Formatting [time.format]
+format
overload specified in this section calls to_stream
+unqualified, so as to enable argument dependent lookup ([basic.lookup.argdep]).
+
template <class charT, class Streamable>
basic_string<charT>
@@ -3397,6 +3405,11 @@ Add a new section 23.17.9 Parsing [time.parse]:
23.17.9 Parsing [time.parse]
+parse
overload specified in this section calls from_stream
+unqualified, so as to enable argument dependent lookup ([basic.lookup.argdep]).
+
template <class charT, class traits, class Alloc, class Parsable>
unspecified
@@ -3493,8 +3506,11 @@ matches zero or more white space characters in the input stream.
-If the from_stream
overload fails to parse everything specified by the
-format string, ios_base::failbit
is set in the basic_istream
.
+If the from_stream
overload fails to parse everything
+specified by the format string, or if insufficient information is
+parsed to specify a complete duration, time point, or calendrical data
+structure, ios_base::failbit
is set in the
+basic_istream
.
@@ -3702,7 +3718,7 @@ permitted but not required.The weekday as a decimal number (0-6), where Sunday is 0. The modified command %Nw
whereN
is a positive decimal integer specifies the maximum number of characters to read. If not specified, the default is 1. Leading zeroes are -permitted but not required. The modified command%Ou
interprets the locale's +permitted but not required. The modified command%Ow
interprets the locale's alternative representation.