std::locale::operator=

来自cppreference.com
< cpp‎ | locale‎ | locale

 
 
 
std::locale
会员类型
原文:
Member types
文本通过谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击此处查看指示。
成员函数
原文:
Member functions
文本通过谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击此处查看指示。
locale::operator=
静态成员函数
原文:
Static member functions
文本通过谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击此处查看指示。
 
定义于头文件 <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.

目录

[编辑] 返回值

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

[编辑] 例外

noexcept 规定:  
noexcept
  

[编辑] 示例

[编辑] 另请参阅

构建了一个新的语言环境
原文:
constructs a new locale
文本通过谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击此处查看指示。

(公开成员函数) [编辑]