summaryrefslogtreecommitdiffstats
path: root/libcxx/include/future
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-12-02 16:45:21 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-12-02 16:45:21 +0000
commit1596c4531b3950f4c883013cb51182ad40884633 (patch)
tree969833db70ead1f9cf8f6d0ec88590ab60858fbe /libcxx/include/future
parentcdae9242fa11b0bb9a575dc4632fc3008c662339 (diff)
downloadbcm5719-llvm-1596c4531b3950f4c883013cb51182ad40884633.tar.gz
bcm5719-llvm-1596c4531b3950f4c883013cb51182ad40884633.zip
N3189 Observers for the three handler functions
llvm-svn: 120712
Diffstat (limited to 'libcxx/include/future')
-rw-r--r--libcxx/include/future4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/future b/libcxx/include/future
index 73a6391e0ec..3be5f0520a7 100644
--- a/libcxx/include/future
+++ b/libcxx/include/future
@@ -2297,6 +2297,8 @@ future<_R&>::share()
return shared_future<_R&>(_STD::move(*this));
}
+#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
+
inline _LIBCPP_INLINE_VISIBILITY
shared_future<void>
future<void>::share()
@@ -2304,6 +2306,8 @@ future<void>::share()
return shared_future<void>(_STD::move(*this));
}
+#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
+
_LIBCPP_END_NAMESPACE_STD
#endif // _LIBCPP_FUTURE
OpenPOWER on IntegriCloud