Namespace
Varianti

std::numpunct::~numpunct

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

 
 
Localizzazioni libreria
Impostazioni internazionali e sfaccettature
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
Carattere classificazione
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.
Conversioni
Original:
Conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Facet categoria classi di 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.
Facet categorie
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.
Locale specifici aspetti
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.
Codice di conversione sfaccettature
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
Membri funzioni
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();
Distrugge un aspetto std::numpunct. Questo distruttore è protetta e virtuale (a causa di distruttore della classe base essere virtuale). Un oggetto di tipo std::numpunct, come la maggior parte sfaccettature, possono essere distrutti solo quando l'oggetto std::locale ultimo che implementa questo aspetto va fuori di portata, o se una classe definita dall'utente è derivato da std::numpunct e implementa un distruttore pubblico.
Original:
Destructs a std::numpunct facet. This destructor is protected and virtual (due to della classe 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.

[modifica] Esempio

#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
}