Botan 3.6.1
Crypto and TLS for C&
|
#include <atomic.h>
Public Member Functions | |
Atomic ()=default | |
Atomic (const Atomic &data) | |
Atomic (const std::atomic< T > &data) | |
operator std::atomic< T > & () | |
operator T () | |
Atomic & | operator= (const Atomic &other) |
Atomic & | operator= (const std::atomic< T > &a) |
~Atomic ()=default | |
Simple helper class to expand std::atomic with copy constructor and copy assignment operator, i.e. for use as element in a container like std::vector. The construction of instances of this wrapper is NOT atomic and needs to be properly guarded.
|
default |
|
inline |
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |