N3189 Observers for the three handler functions
llvm-svn: 120712
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 1596c4531b3950f4c883013cb51182ad40884633
diff --git a/include/future b/include/future
index 73a6391..3be5f05 100644
--- a/include/future
+++ b/include/future
@@ -2297,6 +2297,8 @@
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 @@
return shared_future<void>(_STD::move(*this));
}
+#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
+
_LIBCPP_END_NAMESPACE_STD
#endif // _LIBCPP_FUTURE