[单选题]

下列函数模板定义中错误的是A.templateB.template Q F(Q x){return Q£«x;} Q F

下列函数模板定义中错误的是

A.template<class Q>

B.template<class Q> Q F(Q x){return Q+x;} Q F(Q x){return x+x;}

C.template<class T>

D.template<class T> T F(T x){return x * x;} bool F(T x){return x>1;}

参考答案与解析:

相关试题

下列函数模板定义中错误的是