[WARNING]
The friend specifier was applied to a function/class inside the scope resolution of the same class.
class A {
friend A::f(); //treated by the compiler as "friend
f();
};
Do not write a scope resolution to the same class for a friend of a class.