首页 | 本学科首页   官方微博 | 高级检索  
     检索      

C++语言的模板及其应用
引用本文:赵海廷.C++语言的模板及其应用[J].武汉工程职业技术学院学报,2004,16(3):37-41.
作者姓名:赵海廷
作者单位:武汉工程职业技术学院,武汉,430080
摘    要:面向对象语言的多态性有重载多态,强制多态,包含多态和参数多态,参数多态性与类属相关联.文中介绍了参数多态性及其演变,通过实例给出了在C++中函数模板和类模板的定义及其使用方法.

关 键 词:C^++语言  函数模板  类模板  多态性
文章编号:1671-3524(2004)03-0037-05
修稿时间:2004年1月15日

Template and Application of C++ Programming Language
Zhao Haiting.Template and Application of C++ Programming Language[J].Journal of University for Staff and Workers of Wuhan Iron and Steel(Group)Corporation,2004,16(3):37-41.
Authors:Zhao Haiting
Institution:Zhao Haiting
Abstract:The multistate of object-oriented language falls into heavy duty,forced, inclusion and parameter, which is associated with genericity. The article describes parameter multistate and its evolution,presents definition of function template and class template in C ++ language.
Keywords:genericity    function template    class template
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号