In the Google C++ Style Guide, there's a section on Operator Overloading that has a curious statement:
Overloading also has surprising ramifications. For instance, you can't forward declare classes that overload
operator&
.
This seems incorrect, and I haven't been able to find any code that causes GCC to have a problem with it. Does anyone know what that statement is referring to?