std::experi...torweak_ptr(3)
π NAME π
okay so this is the C++ Standard Libary manual page for std::experimental::atomic_weak_ptr::operatorweak_ptr β and yes bestie, the full name is also std::experimental::atomic_weak_ptr::operatorweak_ptr. The header shortens it to std::experi...torweak_ptr(3), iykyk. π
β¨ Synopsis β¨
operator weak_ptr<T>() const noexcept;
This operator atomically loads and returns the current value of the atomic_weak_ptr. Equivalent to load(). β¨
π Parameters π
(none) β literally no parameters, not a single one. π«Ά
πΈ Return value πΈ
The current value of the atomic_weak_ptr. π
π Remarks π
All associated use_count increments are guaranteed to be performed as part of the atomic operation. no cap, that atomic guarantee is the whole point. π₯
π¦ See also π¦
loadβ atomically obtains the value of the atomic object (public member function).
cute sign-off: source/version is http://cppreference.com, dated 2024.06.10. 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