libstdc++: std::thread::id Class Reference (original) (raw)

#include <[thread](a00224%5Fsource.html)>

Public Member Functions
Friends
struct hash< id >
template<class _CharT , class _Traits >
basic_ostream< _CharT, _Traits > & **operator<<** (basic_ostream< _CharT, _Traits > &__out, id __id)
strong_ordering operator<=> (id __x, id __y) noexcept
bool operator== (id __x, id __y) noexcept
class thread
Related Symbols
(Note that these are not member symbols.)
bool operator== (thread::id __x, thread::id __y) noexcept
strong_ordering operator (thread::id __x, thread::id __y) noexcept
template<class _CharT , class _Traits >
basic_ostream< _CharT, _Traits > & operator<< (basic_ostream< _CharT, _Traits > &__out, thread::id __id)

A std::thread::id is a unique identifier for a thread.

Since

C++11

Definition at line 96 of file std_thread.h.

id() [1/2]

std::thread::id::id ( ) inlinenoexcept

id() [2/2]

std::thread::id::id ( native_handle_type __id) inlineexplicit

hash< id >


The documentation for this class was generated from the following files: