C++对Generic程序设计技术的支持
Generic Programming in C++
-
摘要: 介绍generic程序设计技术,探讨了generic程序设计在C 中的应用,说明了C 标准模板库的组成,并通过实例说明模板的应用。Abstract: The key technical challenge in software engineering is to enable programming rely on standard components to design and build artifacts. A successful approach is generic programming. This paper presents the method of generic programming based on the C++, introduces the standard template library(STL), and provides an example of programming with STL.