Espacios de nombres
Variantes

std::atomic::operator=

De cppreference.com
 
 
 
std::atomic
Las funciones miembro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Funciones especializadas miembros
Original:
Specialized member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
T operator=( T desired );
(1) (desde C++11)
T operator=( T desired ) volatile;
(1) (desde C++11)
atomic& operator=( const atomic& ) = delete;
atomic& operator=( const atomic& ) volatile = delete;
(2) (desde C++11)
1)
Atómicamente asigna un t valor a la variable atómica. Equivalente a store(desired) .
Original:
Atomically assigns a value t to the atomic variable. Equivalent to store(desired).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Variables atómicas no son CopyAssignable .
Original:
Atomic variables are not CopyAssignable.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parámetros

desired -
valor a asignar
Original:
value to assign
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

t.

Excepciones

Especificación noexcept:  
noexcept
  (desde C++11)

Ver también

Construye un objeto atómico.
(función miembro pública) [editar]