std::locale::facet::facet
|
在标头
<locale> 定义 |
||
|
explicit facet( std::size_t refs = 0 );
|
(1) | |
|
facet(const facet&) = delete;
|
(2) | |
1) 创建拥有起始引用计数 refs 的平面。若 refs 非零,则在最后引用它的 locale 离开作用域时不删除该 facet 。拥有静态或动态存储期的平面应始终以非零 refs 构造。
2) 复制构造函数被; std::locale::facet 不可复制。