[locale.members] (original) (raw)

28 Localization library [localization]

28.3 Locales [locales]

28.3.1 Class locale [locale]

28.3.1.3 Members [locale.members]

template<class Facet> locale combine(const locale& other) const;

Effects:Constructs a locale incorporating all facets from*thisexcept for that one facet ofotherthat is identified byFacet.

Returns:The newly created locale.

Throws: runtime_­errorifhas_­facet<Facet>(other)is false.

Remarks:The resulting locale has no name.

Returns:The name of*this, if it has one; otherwise, the string "*".