Redeclaration of explicitly defaulted comparison operator makes it undefined
In the following program, struct A
has default friend equality comparison operator, which is redeclared again to get the pointer of the function (&operator==)
:
In the following program, struct A
has default friend equality comparison operator, which is redeclared again to get the pointer of the function (&operator==)
: