std::thread::id(3cxx)
πΈ NAME πΈ
bestie, this page is all about std::thread::id β manual name std::thread::id(3cxx) β and itβs literally the type that says βIβm a unique identifier for a thread.β Periodt. π
β¨ SYNOPSIS β¨
okay so first you include:
#include <thread>
π Public Member Functions π
id (native_handle_type __id)β this is the one public member function listed here. No extra lore, just this exact signature. π«Ά
π«Ά Friends π«Ά
these are the friends, bestie:
struct hash< id >β the hash friend.template<class _CharT , class _Traits > basic_ostream< _CharT, _Traits > & operator<< (basic_ostream< _CharT, _Traits > &__out, id __id)β the stream-output operator friend.strong_ordering operator<=> (id __x, id __y) noexceptβ the spaceship comparison friend.bool operator== (id __x, id __y) noexceptβ the equality friend.class threadβ the thread friend.
π Related Symbols π
quick note, bestie: these are not member symbols. The original says β(Note that these are not member symbols.)β and weβre keeping that energy.
bool operator== (thread::id __x, thread::id __y) noexceptβ equality forthread::id.strong_ordering operator (thread::id __x, thread::id __y) noexceptβ exactly as listed; yes, it saysoperator, and Iβm not editing it. πtemplate<class _CharT , class _Traits > basic_ostream< _CharT, _Traits > & operator<< (basic_ostream< _CharT, _Traits > &__out, thread::id __id)β stream-output operator forthread::id.
π¦ Detailed Description π¦
A std::thread::id is a unique identifier for a thread. Thatβs the whole mood. π
Since: C++11 β¨
π«Ά Author π«Ά
This page was generated automatically by Doxygen for libstdc++ from the source code. Not me handwriting it, bestie β Doxygen ate and left no crumbs. π
xoxo, libstdc++ π β signed off with std::thread::id(3cxx), and ngl thereβs no date listed in the footer, so thatβs the whole source/version-and-date tea. π«Ά
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms