[Bug libstdc++/57213] failed formatted input overwrites output value

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 8 16:01:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57213

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-05-08 16:01:01 UTC ---
(In reply to comment #0)
> In C++ standard (C++03) I can see 22.2.2.1.2p1 [lib.facet.num.get.virtuals]:
> "If an error occurs, val is unchanged; otherwise it is set to the resulting
> value."

That wording was removed by DR 696
http://cplusplus.github.io/LWG/lwg-defects.html#696



More information about the Gcc-bugs mailing list