Lines Matching refs:future

14     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();
896 // future
899 class _LIBCPP_TEMPLATE_VIS future;
902 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_deferred_assoc_state(_Fp&& __f);
905 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_async_assoc_state(_Fp&& __f);
908 class _LIBCPP_TEMPLATE_VIS future {
911 explicit _LIBCPP_HIDE_FROM_ABI future(__assoc_state<_Rp>* __state);
919 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
921 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
924 _LIBCPP_HIDE_FROM_ABI future() _NOEXCEPT : __state_(nullptr) {}
925 …_LIBCPP_HIDE_FROM_ABI future(future&& __rhs) _NOEXCEPT : __state_(__rhs.__state_) { __rhs.__state_…
926 future(const future&) = delete;
927 future& operator=(const future&) = delete;
928 _LIBCPP_HIDE_FROM_ABI future& operator=(future&& __rhs) _NOEXCEPT {
929 future(std::move(__rhs)).swap(*this);
933 _LIBCPP_HIDE_FROM_ABI ~future();
939 _LIBCPP_HIDE_FROM_ABI void swap(future& __rhs) _NOEXCEPT { std::swap(__state_, __rhs.__state_); }
956 future<_Rp>::future(__assoc_state<_Rp>* __state) : __state_(__state) {
965 future<_Rp>::~future() {
971 _Rp future<_Rp>::get() {
979 class _LIBCPP_TEMPLATE_VIS future<_Rp&> {
982 explicit _LIBCPP_HIDE_FROM_ABI future(__assoc_state<_Rp&>* __state);
990 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
992 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
995 _LIBCPP_HIDE_FROM_ABI future() _NOEXCEPT : __state_(nullptr) {}
996 …_LIBCPP_HIDE_FROM_ABI future(future&& __rhs) _NOEXCEPT : __state_(__rhs.__state_) { __rhs.__state_…
997 future(const future&) = delete;
998 future& operator=(const future&) = delete;
999 _LIBCPP_HIDE_FROM_ABI future& operator=(future&& __rhs) _NOEXCEPT {
1000 future(std::move(__rhs)).swap(*this);
1004 _LIBCPP_HIDE_FROM_ABI ~future();
1010 _LIBCPP_HIDE_FROM_ABI void swap(future& __rhs) _NOEXCEPT { std::swap(__state_, __rhs.__state_); }
1027 future<_Rp&>::future(__assoc_state<_Rp&>* __state) : __state_(__state) {
1032 future<_Rp&>::~future() {
1038 _Rp& future<_Rp&>::get() {
1046 class _LIBCPP_EXPORTED_FROM_ABI future<void> {
1049 explicit future(__assoc_sub_state* __state);
1057 friend future<_R1> __make_deferred_assoc_state(_Fp&& __f);
1059 friend future<_R1> __make_async_assoc_state(_Fp&& __f);
1062 _LIBCPP_HIDE_FROM_ABI future() _NOEXCEPT : __state_(nullptr) {}
1063 …_LIBCPP_HIDE_FROM_ABI future(future&& __rhs) _NOEXCEPT : __state_(__rhs.__state_) { __rhs.__state_…
1064 future(const future&) = delete;
1065 future& operator=(const future&) = delete;
1066 _LIBCPP_HIDE_FROM_ABI future& operator=(future&& __rhs) _NOEXCEPT {
1067 future(std::move(__rhs)).swap(*this);
1071 ~future();
1077 _LIBCPP_HIDE_FROM_ABI void swap(future& __rhs) _NOEXCEPT { std::swap(__state_, __rhs.__state_); }
1094 inline _LIBCPP_HIDE_FROM_ABI void swap(future<_Rp>& __x, future<_Rp>& __y) _NOEXCEPT {
1130 _LIBCPP_HIDE_FROM_ABI future<_Rp> get_future();
1168 future<_Rp> promise<_Rp>::get_future() {
1171 return future<_Rp>(__state_);
1247 _LIBCPP_HIDE_FROM_ABI future<_Rp&> get_future();
1283 future<_Rp&> promise<_Rp&>::get_future() {
1286 return future<_Rp&>(__state_);
1348 future<void> get_future();
1634 _LIBCPP_HIDE_FROM_ABI future<result_type> get_future() { return __p_.get_future(); }
1724 _LIBCPP_HIDE_FROM_ABI future<result_type> get_future() { return __p_.get_future(); }
1796 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_deferred_assoc_state(_Fp&& __f) {
1799 return future<_Rp>(__h.get());
1803 _LIBCPP_HIDE_FROM_ABI future<_Rp> __make_async_assoc_state(_Fp&& __f) {
1807 return future<_Rp>(__h.get());
1841 _LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI future<typename __invoke_of<__decay_t<_Fp>, __decay_t<_Args…
1862 return future<_Rp>{};
1866 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI future<typename __invoke_of<__decay_t<_Fp>, __decay_…
1885 …_LIBCPP_HIDE_FROM_ABI shared_future(future<_Rp>&& __f) _NOEXCEPT : __state_(__f.__state_) { __f.__…
1941 …_LIBCPP_HIDE_FROM_ABI shared_future(future<_Rp&>&& __f) _NOEXCEPT : __state_(__f.__state_) { __f._…
1997 …_LIBCPP_HIDE_FROM_ABI shared_future(future<void>&& __f) _NOEXCEPT : __state_(__f.__state_) { __f._…
2033 inline shared_future<_Rp> future<_Rp>::share() _NOEXCEPT {
2038 inline shared_future<_Rp&> future<_Rp&>::share() _NOEXCEPT {
2042 inline shared_future<void> future<void>::share() _NOEXCEPT { return shared_future<void>(std::move(*…