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: 28.3.3.1.4 [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.

Discussion:

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 28.3.3.1.4 [locale.members], paragraph 5, replace "locale(name())" with "locale(name().c_str())".