DOKK / manpages / debian 12 / libstdc++-11-doc / std::__atomic_flag_base.3cxx.en
std::__atomic_flag_base(3cxx) std::__atomic_flag_base(3cxx)

std::__atomic_flag_base - Base type for atomic_flag.

#include <atomic_base.h>

Inherited by std::atomic_flag.


__atomic_flag_data_type _M_i

Base type for atomic_flag.

Base type is POD with data, allowing atomic_flag to derive from it and meet the standard layout type requirement. In addition to compatibility with a C interface, this allows different implementations of atomic_flag to use the same atomic operation functions, via a standard conversion to the __atomic_flag_base argument.

Definition at line 186 of file atomic_base.h.

Definition at line 188 of file atomic_base.h.

Generated automatically by Doxygen for libstdc++ from the source code.

Thu Feb 16 2023 libstdc++