std::atomic_flag::operator=
來自 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 不可賦值,其賦值運算子被刪除。