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>| Déclaré dans l'en-tête <locale>
|
||
bool operator==( const locale& other ) const; |
(1) | |
bool operator!=( const locale& other ) const; |
(2) | |
Essais deux lieux pour l'égalité. Endroits désignés sont considérés comme égaux si leurs noms sont identiques. Lieux anonymes sont considérées égales si ce sont des copies les uns des autres .
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.
Paramètres
| other | - | un objet std::locale à comparer
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. |
Retourne la valeur
1)
true si other est une copie de *this ou un nom identique, false autrement .Original:
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 si other est une copie de *this ou un nom identique, true autrement .Original:
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.
Exemple
| This section is incomplete Reason: no example |
Voir aussi
construit un nouveau local 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. (fonction membre publique) | |
retourne le nom de la langue ou "*" si pas de nom 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. (fonction membre publique) | |