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.

37. Leftover "global" reference

Section: 30.3.1 [locale] Status: TC1 Submitter: Nathan Myers Opened: 1998-08-06 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [locale].

View all issues with TC1 status.


In the overview of locale semantics, paragraph 4, is the sentence

If Facet is not present in a locale (or, failing that, in the global locale), it throws the standard exception bad_cast.

This is not supported by the definition of use_facet<>, and represents semantics from an old draft.

Proposed resolution:

In 30.3.1 [locale], paragraph 4, delete the parenthesized expression

(or, failing that, in the global locale)