std::locale::operator=
在标头
<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
的副本。
示例
本节未完成 原因:暂无示例 |
参阅
构造新的本地环境 (公开成员函数) |