libstdc++
std::atomic_ref< _Tp > Struct Template Reference

Inherits std::__atomic_ref< _Tp, bool, bool >.

Public Member Functions

 atomic_ref (_Tp &__t) noexcept
 
 atomic_ref (const atomic_ref &)=default
 
atomic_refoperator= (const atomic_ref &)=delete
 

Detailed Description

template<typename _Tp>
struct std::atomic_ref< _Tp >

Class template to provide atomic operations on a non-atomic variable.

Definition at line 1673 of file atomic.

Constructor & Destructor Documentation

◆ atomic_ref()

template<typename _Tp >
std::atomic_ref< _Tp >::atomic_ref ( _Tp &  __t)
inlineexplicitnoexcept

Definition at line 1676 of file atomic.


The documentation for this struct was generated from the following file: