[libcxx-commits] [libcxx] [libc++] Implement P2538R1 "ADL-proof std::projected" (PR #65411)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 5 16:47:18 PDT 2023
================
@@ -80,3 +80,11 @@ struct BadPredicate6 {
bool operator()(std::iter_common_reference_t<It1>, std::iter_common_reference_t<It2>) const = delete;
};
static_assert(!std::indirect_binary_predicate<BadPredicate6, It1, It2>);
+
+// Test ADL-proofing (P2538R1)
+#if TEST_STD_VER >= 26
----------------
EricWF wrote:
Why are we not testing this in older dialectts?
https://github.com/llvm/llvm-project/pull/65411
More information about the libcxx-commits
mailing list