25 Localization library [localization]

25.3 Locales [locales]

25.3.1 Class locale [locale] locale members [locale.members]

template <class Facet> locale combine(const locale& other) const;
Effects: Constructs a locale incorporating all facets from *this except for that one facet of other that is identified by Facet.
Returns: The newly created locale.
Throws: runtime_­error if has_­facet<Facet>(other) is false.
Remarks: The resulting locale has no name.
basic_string<char> name() const;
Returns: The name of *this, if it has one; otherwise, the string "*".