Namespaces
Variants
Views
Actions

std::atomic_flag::operator=

From cppreference.com
< cpp‎ | atomic‎ | atomic flag
Revision as of 16:20, 2 November 2012 by P12bot (Talk | contribs)

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <atomic>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td >
atomic_flag& operator=( const atomic_flag& ) = delete;
</td>

<td > (1) </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">

<td >
atomic_flag& operator=( const atomic_flag& ) volatile = delete;
</td>

<td > (2) </td> <td > (since C++11) </td> </tr> Template:ddcl list end

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