std::experi...s_lock_free(3)
β¨ NAME β¨
okay so this is the std::experi...s_lock_free(3) page from the C++ Standard Libary (yes, thatβs how the header spells it, and weβre not fixing it π
). The function in question, with full main-character energy, is:
std::experimental::atomic_weak_ptr::is_lock_freeβstd::experimental::atomic_weak_ptr::is_lock_free
the original lists it twice. redundant? maybe. iconic? absolutely. periodt. π
π Synopsis π
bool is_lock_free() const noexcept;
the way this checks whether the atomic operations on all objects of this type are lock-free? thatβs the whole vibe, bestie. β¨
πΈ Parameters πΈ
(none)β literally not a single parameter. no cap.
π Return value π
trueif the atomic operations on the objects of this type are lock-free,falseotherwise.
π See also π
bestie, the cross-references are giving βwhole extended friend group,β so hereβs everyone:
std::atomic_is_lock_free(std::shared_ptr)std::atomic_load(std::shared_ptr)std::atomic_load_explicit(std::shared_ptr)std::atomic_store(std::shared_ptr)std::atomic_store_explicit(std::shared_ptr)std::atomic_exchange(std::shared_ptr)std::atomic_exchange_explicit(std::shared_ptr)std::atomic_compare_exchange_weak(std::shared_ptr)std::atomic_compare_exchange_strong(std::shared_ptr)std::atomic_compare_exchange_weak_explicit(std::shared_ptr)std::atomic_compare_exchange_strong_explicit(std::shared_ptr)
the original literally says specializes atomic operations for std::shared_ptr and tags it (function template) β and then hits you with (deprecated in C++20) and (removed in C++26). so yeah, mind the timeline, bestie. π
mwah π source: http://cppreference.com Β· version/date: 2024.06.10 Β· page: std::experi...s_lock_free(3). thatβs the footer, and we ate. π«Ά
π¦ 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