std::atomic...s_lock_free(3)
π NAME π
okay so this is the manual page for std::atomic_ref::is_always_lock_free β and yes, that name shows up twice in the original, so we're keeping both, periodt:
std::atomic_ref::is_always_lock_freeβ the name, bestie β¨std::atomic_ref::is_always_lock_freeβ yep, again, iconic repetition π
The manual page title/manual name folded in near the top is std::atomic...s_lock_free(3), from the C++ Standard Libary β that spelling is literally in the original, no cap π«Ά.
β¨ Synopsis β¨
Here's the declaration, exactly as it shows up:
static constexpr bool is_always_lock_free =
(since C++20)
/*implementation-defined*/;
So it's a static constexpr bool called is_always_lock_free, and it's been around (since C++20). The value is /*implementation-defined*/, meaning the implementation decides it β don't come for me, that's the lore πΈ.
It equals true if the operations on this atomic_ref type are always lock-free, and it equals false if they are never lock-free or sometimes lock-free. π¦
The value of this constant is consistent with the result of the member function is_lock_free. iykyk π
π See also π
is_lock_freeβ checks if theatomic_refobject is lock-free (public member function) π
Bestie, that's the whole page! Source is http://cppreference.com, version/date is 2024.06.10, and the manual name is std::atomic...s_lock_free(3). Mwah πβ¨
π¦ 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