Espaces de noms
Variantes
Affichages
Actions

std::numpunct::~numpunct

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

 
 
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::numpunct
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.
numpunct::numpunct
numpunct::~numpunct
numpunct::decimal_point
numpunct::do_decimal_point
numpunct::thousands_sep
numpunct::do_thousands_sep
numpunct::grouping
numpunct::do_grouping
numpunct::truename
numpunct::do_truename
numpunct::falsename
numpunct::do_falsename
 
Defined in header <locale>
protected: ~numpunct();
Détruit une facette std::numpunct. Ce destructeur est protégée et virtuelle (en raison de destructeur classe de base être virtuel). Un objet de std::numpunct type, comme la plupart des aspects, ne peut être détruit lorsque l'objet std::locale dernière qui implémente cette facette est hors de portée ou si une classe définie par l'utilisateur est dérivé de std::numpunct et met en œuvre un destructeur public .
Original:
Destructs a std::numpunct facet. This destructor is protected and virtual (due to classe de base destructor being virtual). An object of type std::numpunct, like most facets, can only be destroyed when the last std::locale object that implements this facet goes out of scope or if a user-defined class is derived from std::numpunct and implements a public destructor.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifier] Exemple

#include <iostream>
#include <locale>
struct Destructible_numpunct : public std::numpunct<wchar_t>
{
    Destructible_numpunct(std::size_t refs = 0) : numpunct(refs) {}
    ~Destructible_numpunct() {}; // public dtor
};
int main()
{
    Destructible_numpunct dc;
    // std::numpunct<wchar_t> c;  // compile error: protected destructor
}