On 05/07/2013 07:28 PM, David Blaikie wrote:
Seems reasonable to me. Please file a bug at llvm.org/bugs
<http://llvm.org/bugs>
Filed http://llvm.org/bugs/show_bug.cgi?id=15934
Explanation from Howard Hinnant
(http://llvm.org/bugs/show_bug.cgi?id=15934#c1):
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.
BTW, file the same case against latest libstdc++ --
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57213
_______________________________________________
cfe-users mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users