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.

20. Thousands_sep returns wrong type

Section: [facet.numpunct.virtuals] Status: TC1 Submitter: Nathan Myers Opened: 1998-08-06 Last modified: 2016-08-09

Priority: Not Prioritized

View all issues with TC1 status.


The synopsis for numpunct<>::do_thousands_sep, and the definition of numpunct<>::thousands_sep which calls it, specify that it returns a value of type char_type. Here it is erroneously described as returning a "string_type".

Proposed resolution:

In [facet.numpunct.virtuals], above paragraph 2, change "string_type" to "char_type".