单项选择题

类模板template<class T>class x(…),其中友元函数f对特定类型T(如 int),使函数f(x<int>)成为x<int>模板类的友元,则其说明为( )。

A.friend voidf();
B.friend voidf(x<T>);
C.friend voidA::f();
D.friend void C<T>::f(x<T>);