std::experi...latch::latch(3)
π NAME π
okay bestie, so this is the page for std::experimental::latch::latch β yes, that whole glorious name π β and it lives in the C++ Standard Libary manual, section (3). (and yes, the page really spells it βLibaryβ, iykyk π«Ά) the header up top is literally std::experi...latch::latch(3), so now you know exactly where you are β¨
πΈ Synopsis πΈ
explicit latch( ptrdiff_t value ); (1) (concurrency TS)
latch( const latch & ) = delete; (2) (concurrency TS)
- Constructs a latch and initializes its internal counter. π
- Copy constructor is deleted.
latchis not copyable. periodt π
π¦ Parameters π¦
valueβ the initial value of the internal counter; must be non-negative β
ngl, the non-negative thing is not a vibe suggestion, bestie β it's a requirement π
mwah π this adorable little page came from http://cppreference.com and is dated 2024.06.10 β that's the source/version and date, bestie, don't forget 'em β¨π
π¦ 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