We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92fe70a commit c953befCopy full SHA for c953bef
source/time.tex
@@ -2156,9 +2156,8 @@
2156
into the duration \tcode{d}
2157
using the format flags given in the NTCTS \tcode{fmt}
2158
as specified in \ref{time.parse}.
2159
-If the parse parses everything specified by the parsing format flags without error,
2160
-and yet none of the flags impacts a duration,
2161
-\tcode{d} will be assigned a zero value.
+If the parse fails to decode a valid duration,
+\tcode{is.setstate(ios_base::failbit)} is called and \tcode{d} is not modified.
2162
If \tcode{\%Z} is used and successfully parsed,
2163
that value will be assigned to \tcode{*abbrev} if \tcode{abbrev} is non-null.
2164
If \tcode{\%z} (or a modified variant) is used and successfully parsed,
0 commit comments