std::atomic_flag::operator=
Определено в заголовке <atomic> | ||
|---|---|---|
atomic_flag& operator=( const atomic_flag& ) = delete; | (1) | (с C++11) |
atomic_flag& operator=( const atomic_flag& ) volatile = delete; | (2) | (с C++11) |
std::atomic_flag не является присваиваемым, его операторы присваивания удалены.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/atomic/atomic_flag/operator%3D