Lines Matching refs: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();
1040 // future
1042 template <class _Rp> class _LIBCPP_TYPE_VIS_ONLY future;
1045 future<_Rp>
1053 future<_Rp>
1061 class _LIBCPP_TYPE_VIS_ONLY future
1065 explicit future(__assoc_state<_Rp>* __state);
1072 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1074 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1077 friend future<_R1> __make_deferred_assoc_state(_Fp __f);
1079 friend future<_R1> __make_async_assoc_state(_Fp __f);
1084 future() _NOEXCEPT : __state_(nullptr) {}
1087 future(future&& __rhs) _NOEXCEPT
1089 future(const future&) = delete;
1090 future& operator=(const future&) = delete;
1092 future& operator=(future&& __rhs) _NOEXCEPT
1094 future(std::move(__rhs)).swap(*this);
1099 future(const future&);
1100 future& operator=(const future&);
1103 ~future();
1110 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1131 future<_Rp>::future(__assoc_state<_Rp>* __state)
1148 future<_Rp>::~future()
1156 future<_Rp>::get()
1165 class _LIBCPP_TYPE_VIS_ONLY future<_Rp&>
1169 explicit future(__assoc_state<_Rp&>* __state);
1176 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1178 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1181 friend future<_R1> __make_deferred_assoc_state(_Fp __f);
1183 friend future<_R1> __make_async_assoc_state(_Fp __f);
1188 future() _NOEXCEPT : __state_(nullptr) {}
1191 future(future&& __rhs) _NOEXCEPT
1193 future(const future&) = delete;
1194 future& operator=(const future&) = delete;
1196 future& operator=(future&& __rhs) _NOEXCEPT
1198 future(std::move(__rhs)).swap(*this);
1203 future(const future&);
1204 future& operator=(const future&);
1207 ~future();
1214 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1235 future<_Rp&>::future(__assoc_state<_Rp&>* __state)
1247 future<_Rp&>::~future()
1255 future<_Rp&>::get()
1264 class _LIBCPP_TYPE_VIS future<void>
1268 explicit future(__assoc_sub_state* __state);
1275 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1277 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1280 friend future<_R1> __make_deferred_assoc_state(_Fp __f);
1282 friend future<_R1> __make_async_assoc_state(_Fp __f);
1287 future() _NOEXCEPT : __state_(nullptr) {}
1290 future(future&& __rhs) _NOEXCEPT
1292 future(const future&) = delete;
1293 future& operator=(const future&) = delete;
1295 future& operator=(future&& __rhs) _NOEXCEPT
1297 future(std::move(__rhs)).swap(*this);
1302 future(const future&);
1303 future& operator=(const future&);
1306 ~future();
1313 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1336 swap(future<_Rp>& __x, future<_Rp>& __y) _NOEXCEPT
1388 future<_Rp> get_future();
1437 future<_Rp>
1444 return future<_Rp>(__state_);
1567 future<_Rp&> get_future();
1610 future<_Rp&>
1617 return future<_Rp&>(__state_);
1710 future<void> get_future();
2071 future<result_type> get_future() {return __p_.get_future();}
2202 future<result_type> get_future() {return __p_.get_future();}
2281 future<_Rp>
2290 return future<_Rp>(__h.get());
2294 future<_Rp>
2304 return future<_Rp>(__h.get());
2340 future<typename __invoke_of<typename decay<_Fp>::type, typename decay<_Args>::type...>::type>
2361 return future<_Rp>{};
2366 future<typename __invoke_of<typename decay<_Fp>::type, typename decay<_Args>::type...>::type>
2390 shared_future(future<_Rp>&& __f) _NOEXCEPT : __state_(__f.__state_)
2464 shared_future(future<_Rp&>&& __f) _NOEXCEPT : __state_(__f.__state_)
2538 shared_future(future<void>&& __f) _NOEXCEPT : __state_(__f.__state_)
2591 future<_Rp>::share()
2599 future<_Rp&>::share()
2608 future<void>::share()