std::atomic_flag::operator= - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::atomic_flag::operator=

From cppreference.com
< cpp‎ | atomic‎ | atomic flag

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.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/atomic/atomic_flag/operator%3D&oldid=62673"