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

从C++模板到STL
引用本文:王昌晶,薛锦云. 从C++模板到STL[J]. 江西师范大学学报(自然科学版), 2004, 28(4): 321-324
作者姓名:王昌晶  薛锦云
作者单位:江西师范大学,计算机信息与工程学院,江西,南昌,330027;江西师范大学,计算机信息与工程学院,江西,南昌,330027
基金项目:国家自然科学基金资助项目(60273092).
摘    要:该文以一个作用于不同数据结构上的搜索算法为例,先说明了C 模板支持泛型的不足,然后引入迭代算子改造了这个搜索算法,展示了STL支持泛型的强大能力.

关 键 词:C++模板  迭代算子  STL  泛型
文章编号:1000-5862(2004)04-0321-04

From C + + Templet to STL
WANG Chang-jing,XUE Jin-yun. From C + + Templet to STL[J]. Journal of Jiangxi Normal University (Natural Sciences Edition), 2004, 28(4): 321-324
Authors:WANG Chang-jing  XUE Jin-yun
Abstract:In this paper, we use a search algorithm applying to different date structures,and illustrate the short of C++ templet holding up generic,and then reconstruct the algorithm.Also,we reveal the power of STL holding up generic.
Keywords:C++ templet  iterator  STL  generic
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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