std::lock_g...~lock_guard(3)
π NAME π
okay so we're looking at the std::lock_g...~lock_guard(3) page from the C++ Standard Libary manual, and the main character is std::lock_guard::~lock_guard β literally std::lock_guard::~lock_guard, same energy both times. no cap. π
β¨ Synopsis β¨
~lock_guard(); (since C++11)
She releases the ownership of the owned mutex. that's the whole job, and she ate. π«Ά
Effectively calls m.unlock() where m is the mutex passed to the lock_guard's constructor. πβ¨
bestie, it's giving "destructor with one little unlock to do" β nothing extra, nothing shady.
sign-off sparkle: source http://cppreference.com, date 2024.06.10, page std::lock_g...~lock_guard(3) β mwah, bye π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms