Shared futures obtain valid shared states either from a future or shared_future object (on construction or assigning them). Unlike future objects, they retain the same shared state association and validity until destroyed (or assigned).
参数
无
返回值
true if the object is associated with a shared state.
否则返回 false。