Page MenuHomeFreeBSD

D52530.1789715694.diff
No OneTemporary

Size
564 B
Referenced Files
None
Subscribers
None

D52530.1789715694.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
@@ -303,6 +303,8 @@
template <class _Tp>
static _LIBCPP_HIDE_FROM_ABI constexpr bool __can_bind_reference() {
# if __has_keyword(__reference_binds_to_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
Fri, Sep 18, 7:14 AM (8 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29735789
Default Alt Text
D52530.1789715694.diff (564 B)

Event Timeline