15. Locale::name requirement inconsistent

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

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