Lines Matching refs:shared_future
159 shared_future<R> share();
186 shared_future<R&> share();
213 shared_future<void> share();
231 class shared_future
234 shared_future() noexcept;
235 shared_future(const shared_future& rhs);
236 shared_future(future<R>&&) noexcept;
237 shared_future(shared_future&& rhs) noexcept;
238 ~shared_future();
239 shared_future& operator=(const shared_future& rhs);
240 shared_future& operator=(shared_future&& rhs) noexcept;
258 class shared_future<R&>
261 shared_future() noexcept;
262 shared_future(const shared_future& rhs);
263 shared_future(future<R&>&&) noexcept;
264 shared_future(shared_future&& rhs) noexcept;
265 ~shared_future();
266 shared_future& operator=(const shared_future& rhs);
267 shared_future& operator=(shared_future&& rhs) noexcept;
285 class shared_future<void>
288 shared_future() noexcept;
289 shared_future(const shared_future& rhs);
290 shared_future(future<void>&&) noexcept;
291 shared_future(shared_future&& rhs) noexcept;
292 ~shared_future();
293 shared_future& operator=(const shared_future& rhs);
294 shared_future& operator=(shared_future&& rhs) noexcept;
1049 template <class _Rp> class _LIBCPP_TYPE_VIS_ONLY shared_future;
1079 template <class> friend class shared_future;
1115 shared_future<_Rp> share();
1183 template <class> friend class shared_future;
1219 shared_future<_Rp&> share();
1282 template <class> friend class shared_future;
1318 shared_future<void> share();
2385 // shared_future
2388 class _LIBCPP_TYPE_VIS_ONLY shared_future
2394 shared_future() _NOEXCEPT : __state_(nullptr) {}
2396 shared_future(const shared_future& __rhs) : __state_(__rhs.__state_)
2400 shared_future(future<_Rp>&& __f) _NOEXCEPT : __state_(__f.__state_)
2403 shared_future(shared_future&& __rhs) _NOEXCEPT : __state_(__rhs.__state_)
2406 ~shared_future();
2407 shared_future& operator=(const shared_future& __rhs);
2410 shared_future& operator=(shared_future&& __rhs) _NOEXCEPT
2412 shared_future(std::move(__rhs)).swap(*this);
2422 void swap(shared_future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
2443 shared_future<_Rp>::~shared_future()
2450 shared_future<_Rp>&
2451 shared_future<_Rp>::operator=(const shared_future& __rhs)
2462 class _LIBCPP_TYPE_VIS_ONLY shared_future<_Rp&>
2468 shared_future() _NOEXCEPT : __state_(nullptr) {}
2470 shared_future(const shared_future& __rhs) : __state_(__rhs.__state_)
2474 shared_future(future<_Rp&>&& __f) _NOEXCEPT : __state_(__f.__state_)
2477 shared_future(shared_future&& __rhs) _NOEXCEPT : __state_(__rhs.__state_)
2480 ~shared_future();
2481 shared_future& operator=(const shared_future& __rhs);
2484 shared_future& operator=(shared_future&& __rhs) _NOEXCEPT
2486 shared_future(std::move(__rhs)).swap(*this);
2496 void swap(shared_future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
2517 shared_future<_Rp&>::~shared_future()
2524 shared_future<_Rp&>&
2525 shared_future<_Rp&>::operator=(const shared_future& __rhs)
2536 class _LIBCPP_TYPE_VIS shared_future<void>
2542 shared_future() _NOEXCEPT : __state_(nullptr) {}
2544 shared_future(const shared_future& __rhs) : __state_(__rhs.__state_)
2548 shared_future(future<void>&& __f) _NOEXCEPT : __state_(__f.__state_)
2551 shared_future(shared_future&& __rhs) _NOEXCEPT : __state_(__rhs.__state_)
2554 ~shared_future();
2555 shared_future& operator=(const shared_future& __rhs);
2558 shared_future& operator=(shared_future&& __rhs) _NOEXCEPT
2560 shared_future(std::move(__rhs)).swap(*this);
2570 void swap(shared_future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
2593 swap(shared_future<_Rp>& __x, shared_future<_Rp>& __y) _NOEXCEPT
2600 shared_future<_Rp>
2603 return shared_future<_Rp>(_VSTD::move(*this));
2608 shared_future<_Rp&>
2611 return shared_future<_Rp&>(_VSTD::move(*this));
2617 shared_future<void>
2620 return shared_future<void>(_VSTD::move(*this));