[libcxx-commits] [libcxx] [libc++] Implement P2538R1 "ADL-proof std::projected" (PR #65411)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Sep 6 11:41:47 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:
This very much feels like a defect report. I would rather we test the behavior in all dialects where we provide the behavior.
https://github.com/llvm/llvm-project/pull/65411
More information about the libcxx-commits
mailing list