std::locale::facet::facet

std::locale::facet::facet

Defined in header <locale>
explicit facet( std::size_t refs = 0 );
(1)
facet(const facet&) = delete;
(2)

1) creates a facet with starting reference count refs. If refs is non-zero, the facet will not be deleted when the last locale referencing it goes out of scope. A facet with static or dynamic storage duration should always be constructed with a non-zero refs.

2) copy constructor is deleted; std::locale::facet is not copyable.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/locale/locale/facet/facet

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部