[LLVMbugs] [Bug 15934] failed formatted input overwrites output value
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed May 8 08:20:26 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15934
Howard Hinnant <hhinnant at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #1 from Howard Hinnant <hhinnant at apple.com> ---
Thanks for the report.
libc++ has made no attempt to adhere to C++03, only to C++11. And
unfortunately this detail is a specification that has changed between C++03 and
C++11.
The sentence you quote has been removed from this paragraph, which is now
22.4.2.1.2p1 [facet.num.get.virtuals].
Additionally in the same section Stage 3 now says in part:
The numeric value to be stored can be one of:
* zero, if the conversion function fails to convert the entire field.
ios_base::failbit is assigned to err.
So libc++ does conform to C++11, but not C++03. At this time we have no plans
to modify libc++ to strictly adhere to the C++03 standard.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130508/73b35a4c/attachment.html>
More information about the llvm-bugs
mailing list