单项选择题

下列对模板的声明中,正确的是( )。

A.template<T>
B.template<class T1.T2>
C.template<class T1.class T2>
D.template<class T1;class T2>
<上一题 目录 下一题>
热门 试题

单项选择题
下面程序的运行结果是( )。 #include<iostream.h> int x=5; int fan(int
A.

&nb
单项选择题
重载输入流运算符“>>”必须使用的原型为( )。
A.istream& operator>>(istream&,<类名>&);
B.istream& operator>>(istream,<类名>);
C.istream operator>>(istream,<类名>&);
D.<类名>operator>>(istream&,<类名>&);
相关试题
  • 已知一个函数的原型是: int fn(double...
  • 非成员函数应声明为类的______函数才...
  • 指针数组是由______构成的数组。
  • 以下函数实现的功能是______。 void...
  • 在类中,______成员为类的所有对象所...