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

自动垃圾回收指针模板类的设计与实现
引用本文:朱国仲,杨彬,布辉,陆桂明.自动垃圾回收指针模板类的设计与实现[J].华北水利水电学院学报,2006,27(2):73-75.
作者姓名:朱国仲  杨彬  布辉  陆桂明
作者单位:华北水利水电学院,河南,郑州,450011
摘    要:针对传统指针模型所带来的内存使用上的不便性,设计了新的引用计数指针模型,并给出了引用使用规则.设计了通用的指针模板类,最后给出了测试和结果分析,证明此方法可以解决内存的自动管理问题.

关 键 词:引用计数规则  模板类  自动内存管理
文章编号:1002-5634(2006)02-0073-03
收稿时间:2005-10-09
修稿时间:2005-12-14

The Design and Implementation of Pointer Template Class with Garbage Auto-Collection
ZHU Guo-zhong,YANG Bin,BU Hui,LU Gui-ming.The Design and Implementation of Pointer Template Class with Garbage Auto-Collection[J].Journal of North China Institute of Water Conservancy and Hydroelectric Power,2006,27(2):73-75.
Authors:ZHU Guo-zhong  YANG Bin  BU Hui  LU Gui-ming
Affiliation:North China Institute of Water Conservancy and Hydroelectric Power,Zhengzhou 450011, China
Abstract:For inconvenience of memory management engendered by traditional pointer, designing a new referencing pointer model the using rule of reference is given. A generic template pointer class and its usage method are offered on the basis of not modifying running compiler and standard library, At last the testing and result analysis is made. It is proved that it can solve the problem of memory automatic management.
Keywords:referencing rule  template class  memory automatic management
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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