摘要
介绍了采用模板和继承方法设计可重用C++类的方法,探讨了采用继承和模板的区别.介绍了重用C++类时的方法和应注意的问题.
This paper introduces the methods to design reused C++ classes with template class and inheritance class, and it discusses the differences between template and inheritance applying methods. At last, it introduces reusing methods of C++ class and problems which should be paid attention to.
出处
《辽宁工程技术大学学报(自然科学版)》
CAS
1998年第6期641-644,共4页
Journal of Liaoning Technical University (Natural Science)