std::future<T>:: future
From cppreference.net
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::future
| Member functions | ||||
|
future::future
|
||||
| Getting the result | ||||
| State | ||||
|
future
(
)
noexcept
;
|
(1) | (C++11以降) |
|
future
(
future
&&
other
)
noexcept
;
|
(2) | (C++11以降) |
|
future
(
const
future
&
other
)
=
delete
;
|
(3) | (C++11以降) |
std::future
オブジェクトを構築します。
2)
ムーブコンストラクタ。
std::future
を
other
の共有状態でムーブセマンティクスを使用して構築する。構築後、
other.
valid
(
)
==
false
となる。
パラメータ
| other | - |
共有状態を取得する別の
std::future
|