单项选择题
以下对模板的说明,正确的是( )。
A.template<T>
B.template<classT1,T2>
C.template<classT1,classT2>
D.template<classT1;classT2>
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
下列表达式中,错误的是( )。
A.cout<<setw(5);
B.cout<<fill('#');
C.cout.setf(ios::uppercase);
D.cin.fill('#');
点击查看答案
单项选择题
如果表达式++x y中,+ +是作为友元函数重载的, 是作为成员函数重载的,则该表达式还可为( )。
A.(operator + +(x)).operator/(y)
B.(operator + +(0)).operatr/(y)
C.operator/((operator + + (x,0)),y)
D.operator/((operator + + (0)),y)
点击查看答案
相关试题
为解决在多重继承环境中因公共基类带来的 ...
可以把具有相同属性的一些不同对象归类,称...
浮点数的默认精度值是 ______。
作为非成员函数重载的运算符,所有操作数都...
利用成员函数对双目运算符重载,其左操作数...