template class A; template int f(T); template class start { friend class A; friend int f(T); template friend int f(U); }; template class start;