[libcxx-commits] [libcxx] [libc++] Correct `optional<T&>` implementation (PR #174537)
William Tran-Viet via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 7 11:05:50 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
----------------
smallp-o-p wrote:
This actually fails compilation when included in tests run with standard <C++23
https://github.com/llvm/llvm-project/pull/174537
More information about the libcxx-commits
mailing list