模板在C++中的应用  

Application of template in C

在线阅读下载全文

作  者:赵娟[1] ZHAO Juan(Xi’an Technological University North Institute of Information Engineering,Xi’an 710025,China)

机构地区:[1]西安工业大学北方信息工程学院

出  处:《电脑知识与技术》2019年第7Z期296-297,共2页Computer Knowledge and Technology

基  金:西安工业大学北方信息工程学院教学改革项目:模板在C++中的应用(项目编号:19YJ08)

摘  要:本文主要介绍C++中参数化程序设计类型——模版,分别从函数模版和类模版两个方面介绍了模版的使用,通过实例加以比较,得出模版是一种通用性强、重用性高的类型。This paper mainly introduces the parameterization programming type in C++:template,which introduces the use of templates from two aspects:function template and class template.By comparison with examples,the template is a type with high versatility and high reusability.

关 键 词:C++ 模版 参数化程序设计 重用 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象