[libcxx-commits] [libcxx] [libc++] Correct `optional<T&>` implementation (PR #174537)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 7 10:46:17 PST 2026


================
@@ -12,9 +12,10 @@
 #include "test_allocator.h"
 #include <type_traits>
 #include <tuple>
+#include "test_macros.h"
 
 // Types that can be used to test copy/move operations
-
+#if TEST_STD_VER >= 23
----------------
frederick-vs-ja wrote:

I don't think we need to change this file.

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


More information about the libcxx-commits mailing list