W3cubDocs

/C++

std::atomic_flag::operator=

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.
http://en.cppreference.com/w/cpp/atomic/atomic_flag/operator=