摘要
利用C++的模板机制,构造出通用的函数和类,得到可重用的通用链表、栈等,提出了模板设计中常见的问题及处理方法。
The use of C++ templates organizes the common function templates and their classes. The organism thus makes the corresponding lists and stacks available, which can be reused. The paper raises some general problems and offers some solutions to template programming.
出处
《西北大学学报(自然科学版)》
CAS
CSCD
北大核心
1998年第1期23-26,共4页
Journal of Northwest University(Natural Science Edition)