std::atomic_flag::operator=
From cppreference.com
< cpp | atomic | atomic flag
| ヘッダー <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 は代入可能ではありません。その代入演算子は削除されています。