This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofTC1 status.
Section: 28.3.4.6.4.3[locale.time.put.virtuals]Status:TC1Submitter: Angelika LangerOpened: 1999-07-23Last modified: 2016-01-28
Priority:Not Prioritized
View all issues withTC1 status.
Discussion:
In 28.3.4.6.4.3[locale.time.put.virtuals] the do_put() function is specifiedas taking a fill character as an argument, but the description of thefunction does not say whether the character is used at all and, if so,in which way. The same holds for any format control parameters thatare accessible through the ios_base& argument, such as theadjustment or the field width. Is strftime() supposed to use the fillcharacter in any way? In any case, the specification oftime_put.do_put() looks inconsistent to me.
Is thesignature of do_put() wrong, or is the effects clause incomplete?
Proposed resolution:
Add the following note after 28.3.4.6.4.3[locale.time.put.virtuals]paragraph 2:
[Note: the
fillargument may be used in the implementation-defined formats, or by derivations. A space character is a reasonable default for this argument. --end Note]
Rationale:
The LWG felt that while the normative text was correct,users need some guidance on what to pass for thefillargument since the standard doesn't say how it's used.