[libcxx-commits] [libcxx] [libc++][iterator][ranges] P2997R1: Removing the common reference requirement from the indirectly invocable concepts (PR #98817)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 16 10:07:59 PDT 2024
================
@@ -56,12 +56,12 @@ struct BadInvocable3 {
};
static_assert(!std::indirectly_unary_invocable<BadInvocable3, It>);
-// Should fail when the invocable can't be called with (iter_common_reference_t)
+// This case was made valid by P2997R1.
struct BadInvocable4 {
----------------
H-G-Hristov wrote:
I hope you like the new name :)
https://github.com/llvm/llvm-project/pull/98817
More information about the libcxx-commits
mailing list