Espacios de nombres
Variantes

std::atomic::atomic

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.
 
atomic() = default;
(1) (desde C++11)
constexpr atomic( T desired );
(2) (desde C++11)
atomic( const atomic& ) = delete;
(3) (desde C++11)
Construye variable atómica nuevo .
Original:
Constructs new atomic variable.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
El constructor por defecto es trivial: no inicialización tiene lugar distinto cero de inicialización de objetos estáticos y local de subprocesos. std::atomic_init se puede utilizar para completar la inicialización .
Original:
The default constructor is trivial: no initialization takes place other than cero de inicialización of static and thread-local objects. std::atomic_init may be used to complete initialization.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Inicializa el valor subyacente con desired. La inicialización no es atómica .
Original:
Initializes the underlying value with desired. The initialization is not atomic.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Variables atómicas no son CopyConstructible .
Original:
Atomic variables are not CopyConstructible.
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 para inicializar con
Original:
value to initialize with
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Excepciones

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