std::locale::operator=

来自cppreference.com
< cpp‎ | locale‎ | locale
定义于头文件 <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
(公开成员函数)