predator5047 added a comment.
Regarding
struct A;
bool operator==(A, A);
struct A {
friend bool operator==(A, A) = default; // error, not first declaration
};
GCC and msvc have marked P2085R0 as complete and do not implement this rule
should I implement it anyway?
I don't know if clang would rather adhere to the spec or do the same as gcc
and msvc.
https://godbolt.org/z/nhbTWs5of
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103929/new/
https://reviews.llvm.org/D103929
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits