允许用户为类定义一种模式,使得类中的某些数据成员及某些成员函数的返回值能取任意类型,这是一个( )
A.
类模板
B.
模板类
C.
函数模板
D.
模板函数
正确答案是A
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/239570.html
上一篇: He backs up his pitch with facts. Numerous studies, including recent reports by the Center for the Study of Reading and the National Council of Teachers of English, confirm that reading to children builds vocabulary, stimulates imagination, stretche
下一篇:关于目前世界市场商品结构发生的变化说法不正确的是()