Espacios de nombres
Variantes

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
 
 
Biblioteca de apoyo de concurrencia
Hilos
(C++11)
(C++20)
Espacio de nombres this_thread
(C++11)
(C++11)
(C++11)
Cancelación cooperativa
Exclusión mutua
(C++11)
Gestión genérica de bloqueo
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Variables de condición
(C++11)
Semáforos
Pestillos y barreras
(C++20)
(C++20)
Futuros
(C++11)
(C++11)
(C++11)
(C++11)
Recuperación segura
(C++26)
Punteros de riesgo
Tipos atómicos
(C++11)
(C++20)
Inicialización de tipos atómicos
(C++11)(en desuso en C++20)
(C++11)(en desuso en C++20)
Orden de memoria
Funciones independientes para operaciones atómicas
Funciones independientes para indicadores atómicos
 
 
std::thread::id
Funciones miembro
Funciones no miembro
(hasta C++20)(hasta C++20)(hasta C++20)(hasta C++20)(hasta C++20)(C++20)
Clases auxiliares
 
<tbody> </tbody>
template< class CharT, class Traits > std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>&& ost, thread::id id );
(desde C++11)
Escribe una representación textual de un identificador de hilo id al ost flujo de salida .
Original:
Writes a textual representation of a thread identifier id to the output stream ost.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Si dos identificadores de hilo son iguales, tienen idénticas representaciones textuales, si no son iguales, sus representaciones son diferentes .
Original:
If two thread identifiers compare equal, they have identical textual representations; if they do not compare equal, their representations are distinct.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parámetros

ost -
salida de corriente para insertar los datos en
Original:
output stream to insert the data into
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
id -
hilo identificador
Original:
thread identifier
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

ost

Excepciones

(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.