Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

std::atomic_ref< _Tp > - Class template to provide atomic operations on a non-atomic variable.

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++                       std::atomic_ref<_Tp>(3cxx)

Detailed Description

template<typename_Tp>
       struct std::atomic_ref< _Tp >"Class template to provide atomic operations on a non-atomic variable.

Name

       std::atomic_ref< _Tp > - Class template to provide atomic operations on a non-atomic variable.

Synopsis

       #include <atomic>

       Inherits __atomic_ref< _Tp >.

   PublicMemberFunctionsatomic_ref (_Tp &__t) noexcept
       atomic_ref (const atomic_ref &)=defaultatomic_ref & operator= (const atomic_ref &)=delete

See Also