std::future<T>:: future
From es.cppreference.net
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::future
| Member functions | ||||
|
future::future
|
||||
| Getting the result | ||||
| State | ||||
|
future
(
)
noexcept
;
|
(1) | (desde C++11) |
|
future
(
future
&&
other
)
noexcept
;
|
(2) | (desde C++11) |
|
future
(
const
future
&
other
)
=
delete
;
|
(3) | (desde C++11) |
Construye un objeto
std::future
.
1)
Constructor por defecto. Construye un
std::future
sin estado compartido. Después de la construcción,
valid
(
)
==
false
.
2)
Constructor de movimiento. Construye un
std::future
con el estado compartido de
other
usando semántica de movimiento. Después de la construcción,
other.
valid
(
)
==
false
.
Parámetros
| otro | - |
otro
std::future
del cual adquirir el estado compartido
|