std::atomic_flag::operator=

From Cppreference

Jump to: navigation, search
Defined in header <atomic>

atomic_flag& operator=( const atomic_flag& ) = delete;
(1) (C++11 feature)
atomic_flag& operator=( const atomic_flag& ) volatile = delete;
(2) (C++11 feature)

std::atomic_flag is not assignable, its assignment operators are deleted.