25
Localization library
[localization]
25.3
Locales
[locales]
25.3.1
Class
locale
[locale]
25.3.1.3
locale
members
[locale.members]
template <class Facet> locale combine(const locale& other) const;
1
#
Effects:
Constructs a locale incorporating all facets from
*this
except for that one facet of
other
that is identified by
Facet
.
2
#
Returns:
The newly created locale
.
3
#
Throws:
runtime_error
if
has_facet<Facet>(other)
is
false
.
4
#
Remarks:
The resulting locale has no name
.
basic_string<char> name() const;
5
#
Returns:
The name of
*this
, if it has one; otherwise, the string
"*"
.