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.

15. Locale::name requirement inconsistent

Section: [locale.members] Status: TC1 Submitter: Nathan Myers Opened: 1998-08-06 Last modified: 2016-08-09

Priority: Not Prioritized

View all other issues in [locale.members].

View all issues with TC1 status.


locale::name() is described as returning a string that can be passed to a locale constructor, but there is no matching constructor.

Proposed resolution:

In [locale.members], paragraph 5, replace "locale(name())" with "locale(name().c_str())".