11#include <botan/types.h>
30 Atomic(
const std::atomic<T>& data) : m_data(data.load()) {}
36 m_data.store(other.m_data.load());
42 m_data.store(a.load());
46 operator std::atomic<T>&() {
return m_data; }
48 operator T() {
return m_data.load(); }
51 std::atomic<T> m_data;
Atomic(const std::atomic< T > &data)
Atomic & operator=(const Atomic &other)
Atomic & operator=(const std::atomic< T > &a)
Atomic(const Atomic &data)
int(* final)(unsigned char *, CTX *)