template <class Facet> locale combine (const locale& other) const;
Construct copy of locale modifying one facet
Returns a locale object constructed from a copy of *this, except for the facet specified by template parameter Facet, which is taken from other.
Parameters
- other
- Locale whose facet Facet is used to generate the new locale.
Return value
The resulting locale object, which has no name.
Throws runtime_error if other does not have the facet specified by Facet defined.
See also
|