std::locale::id::id
De cppreference.com
|
|
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>| Déclaré dans l'en-tête <locale>
|
||
id(); |
(1) | |
id(const id&) = delete; |
(2) | |
1)
constructeur par défaut: permet de créer un objet de std::locale::id type de mise en œuvre du contenu spécifique .
Original:
default constructor: creates an object of type std::locale::id with implementation-specific content.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
2)
constructeur de copie est supprimée; std::locale::id n'est pas copiable .
Original:
copy constructor is deleted; std::locale::id is not copyable.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Notes
Parce lieux et les facettes doivent être disponibles pour les objets de flux d'entrées-sorties avec la durée de stockage statique, comme std::cout, les implémentations typiques laisser constructeur par défaut implicite zéro initialiser le contenu de std::locale::id lors de l'initialisation statique (avant constructeurs courent pour les objets statiques), et quand une facette est ajouté à n'importe quel lieu pour la première fois, les paramètres régionaux termine l'initialisation de
id la facette .Original:
Because locales and facets must be available for the IO stream objects with static storage duration, such as std::cout, typical implementations let implicit default constructor zero-initialize the contents of std::locale::id during static initialization (before constructors run for static objects), and when a facet is added to any locale for the first time, the locale completes initialization of the facet's
id.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.