名前空間
変種
操作

std::locale::facet

提供: cppreference.com
< cpp‎ | locale‎ | locale

 
 
 
std::locale
メンバータイプ
Original:
Member types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
locale::facet
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
静的メンバ関数
Original:
Static member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
ヘッダ <locale> で定義
class locale::facet;

std::locale::facet is the base class for facets. It provides a common base class so that locales could store pointers to the facets they implement in a single indexed container, and it abstracts support for facet reference counting. Whenever a facet is added to a locale, the locale increments the reference count in the facet (through an implementation-specific mechanism). Whenever a locale is destructed or modified, it decrements the reference count in each facet it no longer implements. Whenever a facet's reference count becomes zero, the locale performs delete static_cast<std::locale::facet*>(f) where f is the pointer to the facet.

[編集] メンバ関数

constructs a new facet with specified reference count
(プロテクテッドメンバ関数)
operator=
コピー代入演算子が削除されます
Original:
the copy assignment operator is deleted
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(プロテクテッドメンバ関数)
(destructor)
[仮想]
the destructor is protected virtual
(仮想プロテクテッドメンバ関数)

[編集]

[編集] 参照

ファセットインデックスタイプ:各ファセットクラスでは、この型のpublic staticメンバを宣言または継承する必要があります
Original:
the facet index type: each facet class must declare or inherit a public static member of this type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(クラス) [edit]