std::atomic_ref::operatorT(3)
β¨ NAME β¨
std::atomic_ref::operatorT β and yes bestie, the name is literally std::atomic_ref::operatorT again. The manual name is folded right in here: std::atomic_ref::operatorT(3), from the C++ Standard Libary manual page. Itβs giving βconversion operator with atomic main character energyβ β¨
π¦ Synopsis π¦
operator T() const noexcept; (since C++20)
Okay so what it does: it atomically loads and returns the current value of the referenced object. Equivalent to load(). Thatβs the whole vibe. π
π Parameters π
(none) β like, not a single parameter, bestie. The parameter list is empty. Zero. The void. Iconic. π«Ά
π Return value π
The current value of the referenced object. Thatβs it. Thatβs the tea. π
π See also π
loadβ atomically obtains the value of the referenced object (public member function)
made with π and zero chill β source/version: http://cppreference.com, date: 2024.06.10 π«Ά
π¦ 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