74. Garbled text for codecvt::do_max_length

Section: [locale.codecvt] Status: TC1 Submitter: Matt Austern Opened: 1998-09-08 Last modified: 2016-01-28 10:19:27 UTC

Priority: Not Prioritized

View all other issues in [locale.codecvt].

View all issues with TC1 status.


The text of codecvt::do_max_length's "Returns" clause (, paragraph 11) is garbled. It has unbalanced parentheses and a spurious n.

Proposed resolution:

Replace [locale.codecvt.virtuals] paragraph 11 with the following:

Returns: The maximum value that do_length(state, from, from_end, 1) can return for any valid range [from, from_end) and stateT value state. The specialization codecvt<char, char, mbstate_t>::do_max_length() returns 1.