Does the C++ standard guarantee that (x!=y) always has the same truth value as !(x==y)?
(x!=y)
!(x==y)
I know there are many subtleties inv
No. You can write operator overloads for == and != that do whatever you wish. It probably would be a bad idea to do so, but the definition of C++ does not constrain those operators to be each other's logical opposites.
==
!=