__atomic2::atomic_flag(3)
π __atomic2::atomic_flag(3) π
okay bestie, welcome to the Library Functions Manual β section 3, no cap. this is the page for __atomic2::atomic_flag, and she is literally the main character of atomic flags π
β¨
β¨ NAME β¨
__atomic2::atomic_flag β atomic_flag. that's the name, that's the vibe, she's an atomic flag and she knows it π
πΈ SYNOPSIS πΈ
Inherits __atomic_flag_base.
π Public Member Functions π
atomic_flag (bool __i)β the constructor that takes abool __i. yes, the parameter is literally named__i, iykyk π«Άatomic_flag (const atomic_flag &)β copy constructor, takes aconst atomic_flag &. lowkey iconic behavior πvoid clear (memory_order __m=memory_order_seq_cst) volatileβ clears things up; it takesmemory_order __m, which defaults tomemory_order_seq_cst, and the whole thing isvolatile. slay β¨atomic_flag & operator= (const atomic_flag &)β assignment operator, returnsatomic_flag &and takes aconst atomic_flag &. periodt πbool test_and_set (memory_order __m=memory_order_seq_cst) volatileβtest_and_setreturns abool; it takesmemory_order __m, defaults tomemory_order_seq_cst, and it'svolatile. no notes, she ate π₯
π¦ Detailed Description π¦
atomic_flag
Definition at line 47 of file atomic_2.h.
ngl the detailed description is giving minimal, but that's okay because the definition is right there and it's at line 47 of file atomic_2.h, fr fr π«Ά
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
not a human author, just Doxygen doing her thing for libstdc++ and honestly? iconic π€β¨
k bye bestie, this was __atomic2::atomic_flag(3) from libstdc++, dated 21 Apr 2009 β catch u later, mwah πππ
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms