Espaços nominais
Variantes
Acções

std::money_get::~money_get

Da cppreference.com
< cpp‎ | locale‎ | money get

 
 
Biblioteca localizações
Localidades e facetas
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
Classificação de caracteres
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.
Conversões
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 classes base da categoria
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.
Categorias faceta
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.
Específicos da localidade facetas
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.
Facetas de conversão de código
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 localidade
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::money_get
Funções de membro
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.
money_get::money_get
money_get::~money_get
money_get::get
money_get::do_get
 
Defined in header <locale>
protected: ~money_get();
Destrói uma faceta std::money_get. Esse destruidor é protegido e virtual (devido a classe base destruidor de ser virtual). Um objeto de std::money_get tipo, como a maioria das facetas, só podem ser destruídos quando o objeto std::locale última que implementa esta faceta sai do escopo ou se uma classe definida pelo usuário é derivado std::money_get e implementa um destruidor público.
Original:
Destructs a std::money_get facet. This destructor is protected and virtual (due to classe base destructor being virtual). An object of type std::money_get, 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::money_get 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.

[editar] Exemplo

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