std::locale::operator==, operator!=
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <locale>
|
||
bool operator==( const locale& other ) const; |
(1) | |
bool operator!=( const locale& other ) const; |
(2) | |
Confronta due locali per l'uguaglianza. Locali con nome vengono considerati uguali se i loro nomi sono uguali. Locali senza nome sono considerati uguali se sono copie di ogni altro.
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.
Parametri
| other | - | un oggetto std::locale da confrontare
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. |
Valore di ritorno
1)
true other se è una copia di *this o ha un nome identico, false altrimenti.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 other se è una copia di *this o ha un nome identico, true altrimenti.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.
Esempio
| This section is incomplete Reason: no example |
Vedi anche
costruisce un nuovo locale 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. (metodo pubblico) | |
restituisce il nome del locale o "*" se senza 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. (metodo pubblico) |