operator==,!=,<,<=,>,>=<div class="t-tr-text">(Std :: hilo :: id)<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(std::thread::id)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>
De cppreference.com
|
|
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
bool operator==( thread::id lhs, thread::id rhs ); |
(1) | (desde C++11) |
bool operator!=( thread::id lhs, thread::id rhs ); |
(2) | (desde C++11) |
bool operator<( thread::id lhs, thread::id rhs ); |
(3) | (desde C++11) |
bool operator<=( thread::id lhs, thread::id rhs ); |
(4) | (desde C++11) |
bool operator>( thread::id lhs, thread::id rhs ); |
(5) | (desde C++11) |
bool operator>=( thread::id lhs, thread::id rhs ); |
(6) | (desde C++11) |
Compara dos identificadores de hilo .
Original:
Compares two thread identifiers.
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.
1-2)
Comprueba si
lhs y rhs representar el mismo hilo, o hilo no .Original:
Checks whether
lhs and rhs represent either the same thread, or no thread.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.
3-6)
Compara
lhs y rhs de tal manera, que lhs y rhs están totalmente ordenado .Original:
Compares
lhs and rhs in such a way, that lhs and rhs are totally ordered.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
| lhs, rhs | - | identificadores de hilo para comparar
Original: thread identifiers 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
true si la relación correspondiente se mantiene, por lo demás false .Original:
true whether the corresponding relation holds, 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.
Excepciones
Complejidad
Constante .
Original:
Constant.
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.