std::locale::facet
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <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.
Member-Funktionen
| constructs a new facet with specified reference count (geschützt Member-Funktion) | |
operator= |
die Kopie Zuweisungsoperator wird gelöscht 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. (geschützt Member-Funktion) |
(destructor) [virtuell] |
the destructor is protected virtual (virtuellen geschützten Member-Funktion) |
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
die Facette Indextyp: jede Facette Klasse deklarieren muss oder erben ein öffentliches statisches Element dieses Typs 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. (Klasse) | |