[locale.codecvt.virtuals] Improve wording#7347
[locale.codecvt.virtuals] Improve wording#7347cpplearner wants to merge 1 commit intocplusplus:mainfrom
Conversation
|
I think this whole function could do with better specification, at least p3 and the table. If the result is For the noconv case, the converted sequence is hypothetical, i.e. the converted sequence would be identical to the input sequence if an actual conversion was performed. But that doesn't happen, no conversion is done.
If this was stated more precisely/clearly, we wouldn't need to say what happens to The addition of " This now becomes is very non-editorial, but I'd prefer to get rid of the table and rewrite the effects, e.g. something like
This still has lots of room for improvement, but I think it would be better than what we have now, even with this PR. |
|
I suspect that "the input sequence [from, from_next)" should be "[from, from_end)". It doesn't make sense to use Can we get Nathan Myers (@ncm) to comment on this issue? |
|
Nathan concurs with Jon's suggestions above. Could you file an LWG issue, please? |
|
Okay |
|
thanks, email to lwgchair received |
Pre-C++98 draft N1146 [lib.locale.codecvt.virtuals]/2 mentions:
LWG 19 proposes to "change the Note in paragraph 2 to normative text", but in doing so, it introduces a few problems:
noconvis specified twice (once in this paragraph, once in the table [tab:locale.codecvt.inout]);from_nextis lost.This PR fixes the last two problems.