[libcxx-commits] [libcxx] [libc++][type_traits] Implements "A type trait to detect reference binding to temporary" (PR #128649)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 25 23:35:33 PST 2025


================
@@ -0,0 +1,121 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// REQUIRES: std-at-least-c++23
+
----------------
H-G-Hristov wrote:

If this is supposed to land before LLVM20 is released we should support Clang 18 but after that we don't. Right?
What do you mean "GCC is still unsupported"? It looks like GCC14 implemented [P2255R2](https://wg21.link/P2255R2), although I see a compilation error in our tests.

https://github.com/llvm/llvm-project/pull/128649


More information about the libcxx-commits mailing list