std::experi...s_lock_free(3)
π NAME π
std::experimental::atomic_shared_ptr::is_lock_free β std::experimental::atomic_shared_ptr::is_lock_free π
okay so bestie, welcome to std::experimental::atomic_shared_ptr::is_lock_free(3) from the C++ Standard Libary manual β¨ yes, it really says the name twice, and no, we are not gonna argue with the manpage π«Ά
β¨ Synopsis β¨
bool is_lock_free() const noexcept;
This one checks whether the atomic operations on all objects of this type are lock-free. Thatβs the whole vibe check. π¦
π Parameters π
(none) β not a single argument, she takes zero notes and zero input π
πΈ Return value πΈ
true if the atomic operations on the objects of this type are lock-free, false otherwise. Simple queen behavior: true or false, no in-between β¨
π¦ See also π¦
The squad of related atomic std::shared_ptr stuff:
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)
Also in the mix: (function template) specializes atomic operations for std::shared_ptr. And the page carries these exact tags: (deprecated in C++20) and (removed in C++26). iykyk, keep that in your notes app bestie π
Heads up: those(deprecated in C++20)and(removed in C++26)notes are sitting right there in the See also zone β do not pretend you didnβt see them π
cute little sign-off: this page comes from http://cppreference.com, dated 2024.06.10, and the footer also shows std::experi...s_lock_free(3) π slay, go be lock-free-aware β¨
π¦ 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