std::future<T>::future
提供: cppreference.com
future() noexcept; |
(1) | (C++11以上) |
future( future&& other ) noexcept; |
(2) | (C++11以上) |
future( const future& other ) = delete; |
(3) | (C++11以上) |
std::future
オブジェクトを構築します。
2) ムーブコンストラクタ。 ムーブセマンティクスを用いて
other
の共有状態を持つ std::future
を構築します。 構築後、 other.valid() == false になります。[編集] 引数
other | - | 共有状態を取得する別の std::future
|