-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
bugSomething isn't workingSomething isn't workingfixedSomething works now, yay!Something works now, yay!
Description
Describe the bug
MSVC STL provides ios_base::hexfloat, which is probably non-conforming.
Line 47 in 8ddf4da
| static constexpr _Fmtflags hexfloat = static_cast<_Fmtflags>(0x3000); // added with TR1 (not in C++11) |
And the comment seems wrong as ios_base::hexfloat is not a part of TR1. It was stated in the final draft of TR1 (WG21-N1836) that:
[Note: Adding the format flag
hexfloatto classios_basecannot be done without invading namespacestd, so only the named manipulator is provided. Note also that the more obvious use ofios_base::hexto specify hexadecimal floating-point format would change the meaning of existing well defined programs. C++2003 gives no meaning to the combination offixedandscientific. —end note]
Should we remove it (maybe in vNext) or make it conforming with an LWG issue or a paper?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfixedSomething works now, yay!Something works now, yay!