STD::ATOMIC_REF(3cxx)

πŸ’– NAME πŸ’–

std::atomic_ref< _Tp > β€” from the 3cxx manual, bestie. It's the class template that provides atomic operations on a non-atomic variable. that's the whole gig, periodt. πŸ’…βœ¨


✨ SYNOPSIS ✨

#include <atomic>

🫢 Public Member Functions 🫢

  • atomic_ref (_Tp &__t) noexcept β€” constructor moment: takes a reference to _Tp and is noexcept, slay. 🌸
  • atomic_ref (const atomic_ref &)=default β€” copy constructor, defaulted, no drama. πŸ’–
  • atomic_ref & operator= (const atomic_ref &)=delete β€” copy assignment is deleted. not today, bestie. πŸ™ˆπŸ’€

πŸ¦‹ DETAILED DESCRIPTION πŸ¦‹

   template<typename _Tp>
       struct std::atomic_ref< _Tp >"Class template to provide atomic
       operations on a non-atomic variable.
okay so that stray " after the > is literally in the original β€” we are not fixing it, we are respecting the source. no cap. πŸ˜­πŸ’…

It's a class template that provides atomic operations on a non-atomic variable. main character energy for real. ✨πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. πŸ€–πŸ’–


This whole page is from libstdc++, manual section 3cxx, and the footer vibe is just libstdc++ again β€” no date given, so we're not inventing one. bye bestie, go be atomic 🫢🌈

πŸ“¦ where this page comes from