atomic_int16_t (C++11)(可选) std::atomic<std::int16_t> (typedef) atomic_uint16_t (C++11)(可选) std::atomic<std::uint16_t> (typedef) atomic_int32_t (C++11)(可选) std::atomic<std::int32_t> (typedef) atomic_uint32_t (C++11)(可选) std::atomic<std::uint...
atomic_uint_fast8_t (自 C++11 起) std::atomicstd::uint_fast8_t (typedef) atomic_int_fast16_t (自 C++11 起) std::atomicstd::int_fast16_t (typedef) atomic_uint_fast16_t (自 C++11 起) std::atomicstd::uint_fast16_t (typedef) atomic_int_fast32_t (自 C++11 起) std::atomic...
std::atomic_char16_t std::atomic<char16_t> std::atomic_char32_t std::atomic<char32_t> std::atomic_wchar_t std::atomic<wchar_t> 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::int...
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/ s...
Something like the following might work: struct { PFS_ALIGNED Atomic_counter<uint32_t> monotonic_index; bool full; } digest; Note: Global or static variables are zero-initialized by default. An initializer like bool digest_full=false; is redundant.Contributor Author ...
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<std::uint32_t> std::atomic_int64_t st...
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<std::uint32_t> std::atomic_int64_t std::atomic<std::int64_t> std::atomic_uint64_t st...
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_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 起) 成员类型
std::atomic<std::uint16_t> (typedef) atomic_int32_t (C++11)(optional) std::atomic<std::int32_t> (typedef) atomic_uint32_t (C++11)(optional) std::atomic<std::uint32_t> (typedef) atomic_int64_t (C++11)(optional) std::atomic<std::int64_t> (typedef) atomic_uin...