std::atomic_ref(3cxx)

std::atomic_ref3cxx

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

Usage

#include <atomic>

Inherits __atomic_ref< _Tp >.

Public Member Functions

atomic_ref (_Tp &__t) noexcept
atomic_ref (const atomic_ref &)=default
atomic_ref & operator= (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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc. Parsed by carta from the page's man source.