std::locale::operator=

来自cppreference.com
< cpp‎ | locale‎ | locale
 
 
本地化库
本地环境与平面
本地环境
平面类别基类
ctype(字符类别)平面
numeric(数值)平面
collate(对照比较)平面
time(时间)平面
monetary(货币)平面
messages(消息)平面
字符分类与转换
字符分类
转换
编码转换平面
(C++11)    
C 本地环境
 
 
在标头 <locale> 定义
const locale& operator=( const locale& other ) throw();
(C++11 前)
const locale& operator=( const locale& other ) noexcept;
(C++11 起)

创建 other 的副本,替换 *this 的内容。增加 other 所保有的所有平面的引用计数。减少 *this 先前所保有的所有平面的引用计数,并删除引用计数成为零的平面。

返回值

返回 *this ,它现在是 other 的副本。

示例

参阅

构造新的 locale
(公开成员函数)