Espacios de nombres
Variantes
Acciones

std::atomic::atomic

De cppreference.com
< cpp‎ | atomic‎ | atomic
 
 
Operaciones de biblioteca Atómica
Tipos
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Funciones
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Banderas atómicas
Original:
Atomic flags
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Inicialización
Original:
Initialization
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Memoria pedido
Original:
Memory ordering
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
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.
atomic::atomic
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.

[editar] 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.

[editar] Excepciones

noexcept specification:  
noexcept
  (desde C++11)