std::thread::id::id(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

okay so welcome to the std::thread::id::id(3) page from the C++ Standard Libary manual (yep, spelled exactly like that here, no cap 🫢). This is the whole vibe: default-constructing a thread id, and it is so simple.


✨ NAME ✨

std::thread::id::id β€” std::thread::id::id

like, the name is literally the same on both sides and honestly? iconic πŸ’…


πŸ¦‹ Synopsis πŸ¦‹

id() noexcept;  (since C++11)

Default-constructs a new thread identifier. The identifier does not represent a thread. periodt ✨


πŸŽ€ Parameters πŸŽ€

(none)

not a single parameter, bestie β€” zero, zilch, nada πŸ™ˆ


mwah πŸ’‹ this lil page is from http://cppreference.com, dated 2024.06.10, and it’s serving std::thread::id::id(3) energy from start to finish 🌸

πŸ“¦ where this page comes from