Defined in header <atomic> | ||
---|---|---|
atomic_flag& operator=( const atomic_flag& ) = delete; | (1) | (since C++11) |
atomic_flag& operator=( const atomic_flag& ) volatile = delete; | (2) | (since C++11) |
std::atomic_flag
is not assignable, its assignment operators are deleted.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/atomic/atomic_flag/operator%3D