Lines Matching refs:future
14 future synopsis
74 future<R> get_future();
104 future<R&> get_future();
132 future<void> get_future();
149 class future
152 future() noexcept;
153 future(future&&) noexcept;
154 future(const future& rhs) = delete;
155 ~future();
156 future& operator=(const future& rhs) = delete;
157 future& operator=(future&&) noexcept;
176 class future<R&>
179 future() noexcept;
180 future(future&&) noexcept;
181 future(const future& rhs) = delete;
182 ~future();
183 future& operator=(const future& rhs) = delete;
184 future& operator=(future&&) noexcept;
203 class future<void>
206 future() noexcept;
207 future(future&&) noexcept;
208 future(const future& rhs) = delete;
209 ~future();
210 future& operator=(const future& rhs) = delete;
211 future& operator=(future&&) noexcept;
235 shared_future(future<R>&&) noexcept;
262 shared_future(future<R&>&&) noexcept;
289 shared_future(future<void>&&) noexcept;
311 future<typename result_of<typename decay<F>::type(typename decay<Args>::type...)>::type>
315 future<typename result_of<typename decay<F>::type(typename decay<Args>::type...)>::type>
346 future<R> get_future();
388 # error "<future> is not supported since libc++ has been configured without support for threads."
1030 // future
1032 template <class _Rp> class _LIBCPP_TEMPLATE_VIS future;
1035 _LIBCPP_INLINE_VISIBILITY future<_Rp>
1039 _LIBCPP_INLINE_VISIBILITY future<_Rp>
1043 class _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FUTURE future
1047 explicit future(__assoc_state<_Rp>* __state);
1053 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1055 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1059 future() _NOEXCEPT : __state_(nullptr) {}
1061 future(future&& __rhs) _NOEXCEPT
1063 future(const future&) = delete;
1064 future& operator=(const future&) = delete;
1066 future& operator=(future&& __rhs) _NOEXCEPT
1068 future(_VSTD::move(__rhs)).swap(*this);
1072 ~future();
1080 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1101 future<_Rp>::future(__assoc_state<_Rp>* __state)
1113 future<_Rp>::~future()
1121 future<_Rp>::get()
1130 class _LIBCPP_TEMPLATE_VIS _LIBCPP_AVAILABILITY_FUTURE future<_Rp&>
1134 explicit future(__assoc_state<_Rp&>* __state);
1140 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1142 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1146 future() _NOEXCEPT : __state_(nullptr) {}
1148 future(future&& __rhs) _NOEXCEPT
1150 future(const future&) = delete;
1151 future& operator=(const future&) = delete;
1153 future& operator=(future&& __rhs) _NOEXCEPT
1155 future(_VSTD::move(__rhs)).swap(*this);
1159 ~future();
1167 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1188 future<_Rp&>::future(__assoc_state<_Rp&>* __state)
1195 future<_Rp&>::~future()
1203 future<_Rp&>::get()
1212 class _LIBCPP_TYPE_VIS _LIBCPP_AVAILABILITY_FUTURE future<void>
1216 explicit future(__assoc_sub_state* __state);
1222 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1224 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1228 future() _NOEXCEPT : __state_(nullptr) {}
1230 future(future&& __rhs) _NOEXCEPT
1232 future(const future&) = delete;
1233 future& operator=(const future&) = delete;
1235 future& operator=(future&& __rhs) _NOEXCEPT
1237 future(_VSTD::move(__rhs)).swap(*this);
1241 ~future();
1249 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1272 swap(future<_Rp>& __x, future<_Rp>& __y) _NOEXCEPT
1313 future<_Rp> get_future();
1359 future<_Rp>
1364 return future<_Rp>(__state_);
1458 future<_Rp&> get_future();
1502 future<_Rp&>
1507 return future<_Rp&>(__state_);
1584 future<void> get_future();
1936 future<result_type> get_future() {return __p_.get_future();}
2051 future<result_type> get_future() {return __p_.get_future();}
2138 _LIBCPP_INLINE_VISIBILITY future<_Rp>
2143 return future<_Rp>(__h.get());
2147 _LIBCPP_INLINE_VISIBILITY future<_Rp>
2153 return future<_Rp>(__h.get());
2192 future<typename __invoke_of<typename decay<_Fp>::type, typename decay<_Args>::type...>::type>
2213 return future<_Rp>{};
2218 future<typename __invoke_of<typename decay<_Fp>::type, typename decay<_Args>::type...>::type>
2241 shared_future(future<_Rp>&& __f) _NOEXCEPT : __state_(__f.__state_)
2311 shared_future(future<_Rp&>&& __f) _NOEXCEPT : __state_(__f.__state_)
2381 shared_future(future<void>&& __f) _NOEXCEPT : __state_(__f.__state_)
2431 future<_Rp>::share() _NOEXCEPT
2439 future<_Rp&>::share() _NOEXCEPT
2446 future<void>::share() _NOEXCEPT