[libcxx-commits] [libcxx] [libc++][iterator][ranges] P2997R1: Removing the common reference requirement from the indirectly invocable concepts (PR #98817)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 16 06:58:13 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 {
----------------
ldionne wrote:
The name of this class should arguably change now :). Same comment a few times above.
https://github.com/llvm/llvm-project/pull/98817
More information about the libcxx-commits
mailing list