Created on 2009-06-27.00:00:00 last changed 144 months ago
Proposed resolution:
Change Table 83 — Floating-point conversions in [facet.num.put.virtuals]:
State | stdio equivalent |
---|---|
floatfield == (ios_base::fixed | ios_base::scientific) && !uppercase | %a |
floatfield == (ios_base::fixed | ios_base::scientific) | %A |
[ 2009-10-28 Howard: ]
Moved to Tentatively Ready after 5 positive votes on c++std-lib.
In Table 73 — Floating-point conversions, [facet.num.put.virtuals], in N2914, we have the following entries:
State | stdio equivalent |
---|---|
floatfield == ios_base::fixed | ios_base::scientific && !uppercase | %a |
floatfield == ios_base::fixed | ios_base::scientific | %A |
These expressions are supposed to mean:
floatfield == (ios_base::fixed | ios_base::scientific) && !uppercase floatfield == (ios_base::fixed | ios_base::scientific)
but technically parsed as:
((floatfield == ios_base::fixed) | ios_base::scientific) && (!uppercase) ((floatfield == ios_base::fixed) | ios_base::scientific)
and should be corrected with additional parentheses, as shown above.
History | |||
---|---|---|---|
Date | User | Action | Args |
2013-01-25 00:32:43 | admin | set | messages: + msg6338 |
2013-01-25 00:32:43 | admin | set | messages: + msg6337 |
2009-06-27 00:00:00 | admin | create |