Namespaces
Variants

std::experimental::shared_future<T>:: operator=

From cppreference.net
(1)
(2)

別の std::experimental::shared_future オブジェクトの内容を割り当てます。

1) 共有状態を解放し、 other の内容を * this に代入する。代入後、 this - > valid ( ) == other. valid ( ) となる。
2) 共有状態を解放し、 other の内容を * this にムーブ代入する。代入後、 other. valid ( ) == false となり、 this->valid() は代入前の other. valid ( ) と同じ値を返す。

パラメータ

other - 割り当て元の std::experimental::shared_future オブジェクト

戻り値

* this