Namespaces
Variants
Views
Actions

std::atomic_flag::operator=

From cppreference.com
< cpp‎ | atomic‎ | atomic flag
Revision as of 15:32, 1 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.