timshen created this revision.
timshen added reviewers: EricWF, rsmith.
Herald added a subscriber: sanjoy.
This is a follow-up to https://reviews.llvm.org/D41977.


https://reviews.llvm.org/D42510

Files:
  libcxx/include/tuple


Index: libcxx/include/tuple
===================================================================
--- libcxx/include/tuple
+++ libcxx/include/tuple
@@ -175,6 +175,8 @@
     static constexpr bool __can_bind_reference() {
 #if __has_keyword(__reference_binds_to_temporary)
       return !__reference_binds_to_temporary(_Hp, _Tp);
+#else
+      return true;
 #endif
     }
 


Index: libcxx/include/tuple
===================================================================
--- libcxx/include/tuple
+++ libcxx/include/tuple
@@ -175,6 +175,8 @@
     static constexpr bool __can_bind_reference() {
 #if __has_keyword(__reference_binds_to_temporary)
       return !__reference_binds_to_temporary(_Hp, _Tp);
+#else
+      return true;
 #endif
     }
 
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to