This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TC1 status.
Section: 27.4.4.4 [string.io] Status: TC1 Submitter: Nathan Myers Opened: 1998-08-06 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [string.io].
View all issues with TC1 status.
Duplicate of: 67
Discussion:
In the description of operator<< applied to strings, the standard says that uses the smaller of os.width() and str.size(), to pad "as described in stage 3" elsewhere; but this is inconsistent, as this allows no possibility of space for padding.
Proposed resolution:
Change 27.4.4.4 [string.io] paragraph 4 from:
"... where n
is the smaller of os.width()
and str.size()
;
..."
to:
"... where n
is the larger of os.width()
and str.size()
;
..."