Espaces de noms
Variantes
Affichages
Actions

std::locale::facet

De cppreference.com
< cpp‎ | locale‎ | locale

 
 
Bibliothèque localisations
Locales et facettes
Original:
Locales and facets
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
locale
Classification des caractères
Original:
Character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Conversions
Original:
Conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Classes de facettes catégorie de base
Original:
Facet category base classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Catégories de facettes
Original:
Facet categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Spécifique aux paramètres régionaux facettes
Original:
Locale-specific facets
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Facettes de conversion de code
Original:
Code conversion facets
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
codecvt_utf8 (C++11)
codecvt_utf16 (C++11)
C locale
Original:
C locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
std::locale
Types de membres
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::id
locale::facet
Les fonctions membres
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.
locale::locale
locale::~locale
locale::operator=
locale::combine
locale::name
locale::operator==
locale::operator!=
locale::operator()
Fonctions membres statiques
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::global
locale::classic
 
Defined in header <locale>
class locale::facet;
std::locale::facet est la classe de base pour les facettes. Il fournit une classe de base commune pour que les locales pourraient stocker des pointeurs vers les facettes qu'ils mettent en œuvre dans un seul conteneur indexée, et il fait abstraction de soutien pour le comptage de référence facette. Chaque fois qu'une facette est ajouté à un environnement local, les incréments de comptage locale de la référence à la facette (grâce à un mécanisme de mise en oeuvre spécifique). Chaque fois que les paramètres régionaux sont détruits ou modifiés, il décrémente le nombre de références dans chaque facette de l'œuvre n'est plus. Comptage de référence chaque fois une facette devient nulle, le lieu où delete static_cast<std::locale::facet*>(f) effectue f est le pointeur de la facette .
Original:
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.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Fonctions membres

construit une nouvelle facette avec compteur de référence spécifié
Original:
constructs a new facet with specified reference count
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction membre protégée)
operator=
l'opérateur d'affectation de copie est supprimée
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.

(fonction membre protégée)
(destructor)
[
virtuel
Original:
virtual
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
]
the destructor is protected virtual
(fonction membre virtuelle protégée)

[modifier] Exemple

[modifier] Voir aussi

le type d'index facettes: chaque classe doit déclarer facette ou d'hériter d'un membre statique public de ce type
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.

(classe) [edit]