Page MenuHomeFreeBSD

D52530.1790840376.diff
No OneTemporary

Size
626 B
Referenced Files
None
Subscribers
None

D52530.1790840376.diff

diff --git a/contrib/llvm-project/libcxx/include/tuple b/contrib/llvm-project/libcxx/include/tuple
--- a/contrib/llvm-project/libcxx/include/tuple
+++ b/contrib/llvm-project/libcxx/include/tuple
@@ -302,7 +302,9 @@
template <class _Tp>
static _LIBCPP_HIDE_FROM_ABI constexpr bool __can_bind_reference() {
-# if __has_keyword(__reference_binds_to_temporary)
+# if __has_keyword(__reference_constructs_from_temporary)
+ return !__reference_constructs_from_temporary(_Hp, _Tp);
+# elif __has_keyword(__reference_binds_to_temporary)
return !__reference_binds_to_temporary(_Hp, _Tp);
# else
return true;

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 1, 7:39 AM (2 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30062992
Default Alt Text
D52530.1790840376.diff (626 B)

Event Timeline