Namespaces
Variants
Views
Actions

std::locale::operator=

From cppreference.com
< cpp‎ | locale‎ | locale
Revision as of 19:48, 2 November 2012 by P12bot (Talk | contribs)

Defined in header <locale>
const locale& operator=( const locale& other );

Creates a copy of other, replacing the contents of *this. The reference counts of all facets held by other are incremented. The reference counts of all facets previously held by *this are decremented, and those facets whose reference count becomes zero are deleted.

Contents

Return value

Returns *this, which is now a copy of other.

Exceptions

noexcept specification:  
noexcept
  

Example

See also

Template:cpp/locale/locale/dcl list locale