什么是模板

来源:互联网 发布:linux多进程与共享库 编辑:程序博客网 时间:2024/06/06 02:32

模板是实现泛型编程的基础。模板允许我们生一系列可以出炉不同数据类型的类或函数。

 

What is Template?

Template is used to implement the concept of generic programming.

Template allows us to generate a family of classes or functions to handle different data types.

 

 

 

 

原创粉丝点击