std::locale::operator==, operator!=
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>| Definido no cabeçalho <locale>
|
||
bool operator==( const locale& other ) const; |
(1) | |
bool operator!=( const locale& other ) const; |
(2) | |
Testes duas localidades de igualdade. Locais nomeados são considerados iguais se seus nomes são iguais. Localidades não identificadas são considerados iguais se eles são cópias uns dos outros.
Original:
Tests two locales for equality. Named locales are considered equal if their names are equal. Unnamed locales are considered equal if they are copies of each other.
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.
Parâmetros
| other | - | um objeto std::locale para comparar
Original: a std::locale object to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valor de retorno
1)
true se other é uma cópia de *this ou tem um nome idêntico, de outro modo.. falseOriginal:
true if other is a copy of *this or has an identical name, false otherwise.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)
false se other é uma cópia de *this ou tem um nome idêntico, de outro modo.. trueOriginal:
false if other is a copy of *this or has an identical name, true otherwise.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.
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |
Veja também
constrói uma nova localidade Original: constructs a new locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro) | |
retorna o nome da localidade ou "*" se sem nome Original: returns the name of the locale or "*" if unnamed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função pública membro) | |