memesearch
std::jthread joins automatically

std::jthread joins automatically

Download Find similar pictures
Text on the meme
std::jthread Solution: std::jthread joins automatically at the end of its scope. std::jthread t{[]{ std::cout << "New thread"; }}; std::cout << "t.joinable(): " << t.joinable(); rainer : bash — Konsole File Edit View Bookmarks Settings Help rainer@seminar:~> jthread t.joinable(): true New thread rainer@seminar:~>
What it means

A presentation slide explains that C++17/20's std::jthread automatically joins at the end of its scope, alongside a terminal demonstration showing a joinable thread and the message “New thread.” The joke is a nerdy programming reaction to modern C++ features working conveniently while developers often still have to build their own solutions. EN: A presentation slide explains that C++17/20's std::jthread automatically joins at the end of its scope, alongside a terminal demonstration showing a joinable thread and the message “New thread.” The joke is a nerdy programming reaction to modern C++ features working conveniently while developers often still have to build their own solutions.

Objects
Tags
Source
Type
image
Size
800×600 · 44.1 KiB
Mood
nerdy, ironic
Language
en
Added