atomic_int8_t (C++11)(可选) std::atomic<std::int8_t> (typedef) atomic_uint8_t (C++11)(可选) std::atomic<std::uint8_t> (typedef) atomic_int16_t (C++11)(可选) std::atomic<std::int16_t> (typedef) atomic_uint16_t (C++11)(可选) std::atomic<std::uint16...
atomic_int8_t (自 C++11 起)(可选) std::atomicstd::int8_t (typedef) atomic_uint8_t (自 C++11 起)(可选) std::atomicstd::uint8_t (typedef) atomic_int16_t (自 C++11 起)(可选) std::atomicstd::int16_t (typedef) atomic_uint16_t (自 C++11 起)(可选) std::atomicstd::uin...
std::atomic_int8_t std::atomic<std::int8_t> std::atomic_uint8_t std::atomic<std::uint8_t> std::atomic_int16_t std::atomic<std::int16_t> std::atomic_uint16_t std::atomic<std::uint16_t> std::atomic_int32_t std::atomic<std::int32_t> std::atomic_uint32_t std...
std::atomic<T>::atomic std::atomic<T>::operator= std::atomic<T>::is_lock_free std::atomic<T>::is_always_lock_free std::atomic<T>::store std::atomic<T>::load std::atomic<T>::operator T() std::atomic<T>::exchange std::atomic<T>::compare_exchange_weak, std::atomic<T>::...
error: use of deleted function ‘std::atomic<short unsigned int>::atomic(const std::atomic<short unsigned int>&) 报这个错误的主要原因是原子变量不能使用拷贝构造。 这个限制只在原子变量初始时生效,初始之后时可以使用赋值操作符的。 std::atomic<uint16_t> m_batchNumber; ...
std::atomic_int8_t std::atomic<std::int8_t> std::atomic_uint8_t std::atomic<std::uint8_t> std::atomic_int16_t std::atomic<std::int16_t> std::atomic_uint16_t std::atomic<std::uint16_t> std::atomic_int32_t std::atomic<std::int32_t> std::atomic_uint32_t std...
atomic_uint/ std::atomic<unsigned> atomic_short/ std::atomic<short> atomic_ushort/ std::atomic<unsigned short> atomic_long/ std::atomic<long> atomic_ulong/ std::atomic<unsigned long> atomic_llong/ std::atomic<long long> atomic_ullong/ std::atomic<unsigned long long> atomic_char16_t/ ...
public class AtomicInt32 功能:提供 Int32 类型的原子操作相关函数。init(Int32) public init(val: Int32) 功能:构造一个封装 Int32 数据类型的原子类型 AtomicInt32 的实例,其内部数据初始值为入参 val 的值。 参数: val: Int32 - 原子类型的初始值。func...
atomic_ptrdiff_t (C++11 起)atomic_schar (C++11 起)atomic_short (C++11 起)atomic_signed_lock_free (C++20 起)atomic_size_t (C++11 起)atomic_uchar (C++11 起)atomic_uint (C++11 起)atomic_uint8_t (C++11 起)atomic_uint16_t (C++11 起)atomic_uint32_t (C++11 起)atomic_uint64_t (...
注意:std::atomic_intN_t、std::atomic_uintN_t、std::atomic_intptr_t及atomic_uintptr_t分别若且唯若定义了std::intN_t、std::uintN_t、std::intptr_t及std::uintptr_t才有定义。 提供额外的特殊用途类型别名: (C++20 起) 成员类型