Movatterモバイル変換


[0]ホーム

URL:



This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofTC1 status.

71. Do_get_monthname synopsis missing argument

Section: 28.3.4.6.2[locale.time.get]Status:TC1Submitter: Nathan MyersOpened: 1998-08-13Last modified: 2016-01-28

Priority:Not Prioritized

View all issues withTC1 status.

Discussion:

The locale facet membertime_get<>::do_get_monthnameis described in 28.3.4.6.2.3[locale.time.get.virtuals] with five arguments,consistent with do_get_weekday and with its specified use by memberget_monthname. However, in the synopsis, it is specified instead withfour arguments. The missing argument is the "end" iteratorvalue.

Proposed resolution:

In 28.3.4.6.2[locale.time.get], add an "end" argument tothe 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;

[8]ページ先頭

©2009-2026 Movatter.jp