https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81122

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Ben Woodard from comment #5)
> The example code in: http://en.cppreference.com/w/cpp/io/manip/fixed
> suggests that this should work. Probably either the behavior or the library
> or the example on cppreference should change.

The standard does not permit the example to read the hex float, because 'P' is
not one of the characters that std::num_get::do_get will accumulate.
Implementations which parse that hex float are non-conforming.

Again, see comment 1.

Reply via email to