Title
Do_get_monthname synopsis missing argument
Status
tc1
Section
[locale.time.get]
Submitter
Nathan Myers

Created on 1998-08-13.00:00:00 last changed 164 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

In [locale.time.get], add an "end" argument to the declaration of member do_monthname as follows:

  virtual iter_type do_get_monthname(iter_type s, iter_type end, ios_base&,
                                     ios_base::iostate& err, tm* t) const;
Date: 1998-08-13.00:00:00

The locale facet member time_get<>::do_get_monthname is described in [locale.time.get.virtuals] with five arguments, consistent with do_get_weekday and with its specified use by member get_monthname. However, in the synopsis, it is specified instead with four arguments. The missing argument is the "end" iterator value.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg164
1998-08-13 00:00:00admincreate