For compatibility with the forthcoming C Standard, typedefs for the atomic
integral types are provided. These are either typedefs to the corresponding
std::atomic<T>
specialization, or a base class of that specialization with the same interface.
Table 1. Atomic typedefs and their corresponding `std::atomic<>` specializations
|
|
|
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Header
#include <atomic>