Lines Matching full:future
2 //===--------------------------- future -----------------------------------===//
15 future synopsis
75 future<R> get_future();
105 future<R&> get_future();
133 future<void> get_future();
150 class future
153 future() noexcept;
154 future(future&&) noexcept;
155 future(const future& rhs) = delete;
156 ~future();
157 future& operator=(const future& rhs) = delete;
158 future& operator=(future&&) noexcept;
177 class future<R&>
180 future() noexcept;
181 future(future&&) noexcept;
182 future(const future& rhs) = delete;
183 ~future();
184 future& operator=(const future& rhs) = delete;
185 future& operator=(future&&) noexcept;
204 class future<void>
207 future() noexcept;
208 future(future&&) noexcept;
209 future(const future& rhs) = delete;
210 ~future();
211 future& operator=(const future& rhs) = delete;
212 future& operator=(future&&) noexcept;
236 shared_future(future<R>&&) noexcept;
263 shared_future(future<R&>&&) noexcept;
290 shared_future(future<void>&&) noexcept;
312 future<typename result_of<typename decay<F>::type(typename decay<Args>::type...)>::type>
316 future<typename result_of<typename decay<F>::type(typename decay<Args>::type...)>::type>
347 future<R> get_future();
378 #error <future> is not supported on this single threaded system
1047 // future
1049 template <class _Rp> class _LIBCPP_TYPE_VIS_ONLY future;
1052 future<_Rp>
1060 future<_Rp>
1068 class _LIBCPP_TYPE_VIS_ONLY future
1072 explicit future(__assoc_state<_Rp>* __state);
1079 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1081 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1084 friend future<_R1> __make_deferred_assoc_state(_Fp __f);
1086 friend future<_R1> __make_async_assoc_state(_Fp __f);
1091 future() _NOEXCEPT : __state_(nullptr) {}
1094 future(future&& __rhs) _NOEXCEPT
1096 future(const future&) = delete;
1097 future& operator=(const future&) = delete;
1099 future& operator=(future&& __rhs) _NOEXCEPT
1101 future(std::move(__rhs)).swap(*this);
1106 future(const future&);
1107 future& operator=(const future&);
1110 ~future();
1117 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1138 future<_Rp>::future(__assoc_state<_Rp>* __state)
1155 future<_Rp>::~future()
1163 future<_Rp>::get()
1172 class _LIBCPP_TYPE_VIS_ONLY future<_Rp&>
1176 explicit future(__assoc_state<_Rp&>* __state);
1183 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1185 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1188 friend future<_R1> __make_deferred_assoc_state(_Fp __f);
1190 friend future<_R1> __make_async_assoc_state(_Fp __f);
1195 future() _NOEXCEPT : __state_(nullptr) {}
1198 future(future&& __rhs) _NOEXCEPT
1200 future(const future&) = delete;
1201 future& operator=(const future&) = delete;
1203 future& operator=(future&& __rhs) _NOEXCEPT
1205 future(std::move(__rhs)).swap(*this);
1210 future(const future&);
1211 future& operator=(const future&);
1214 ~future();
1221 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1242 future<_Rp&>::future(__assoc_state<_Rp&>* __state)
1254 future<_Rp&>::~future()
1262 future<_Rp&>::get()
1271 class _LIBCPP_TYPE_VIS future<void>
1275 explicit future(__assoc_sub_state* __state);
1282 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1284 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1287 friend future<_R1> __make_deferred_assoc_state(_Fp __f);
1289 friend future<_R1> __make_async_assoc_state(_Fp __f);
1294 future() _NOEXCEPT : __state_(nullptr) {}
1297 future(future&& __rhs) _NOEXCEPT
1299 future(const future&) = delete;
1300 future& operator=(const future&) = delete;
1302 future& operator=(future&& __rhs) _NOEXCEPT
1304 future(std::move(__rhs)).swap(*this);
1309 future(const future&);
1310 future& operator=(const future&);
1313 ~future();
1320 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1343 swap(future<_Rp>& __x, future<_Rp>& __y) _NOEXCEPT
1395 future<_Rp> get_future();
1445 future<_Rp>
1452 return future<_Rp>(__state_);
1575 future<_Rp&> get_future();
1619 future<_Rp&>
1626 return future<_Rp&>(__state_);
1719 future<void> get_future();
2077 future<result_type> get_future() {return __p_.get_future();}
2208 future<result_type> get_future() {return __p_.get_future();}
2287 future<_Rp>
2296 return future<_Rp>(__h.get());
2300 future<_Rp>
2310 return future<_Rp>(__h.get());
2346 future<typename __invoke_of<typename decay<_Fp>::type, typename decay<_Args>::type...>::type>
2367 return future<_Rp>{};
2372 future<typename __invoke_of<typename decay<_Fp>::type, typename decay<_Args>::type...>::type>
2396 shared_future(future<_Rp>&& __f) _NOEXCEPT : __state_(__f.__state_)
2470 shared_future(future<_Rp&>&& __f) _NOEXCEPT : __state_(__f.__state_)
2544 shared_future(future<void>&& __f) _NOEXCEPT : __state_(__f.__state_)
2597 future<_Rp>::share()
2605 future<_Rp&>::share()
2614 future<void>::share()