摘要
面向对象语言的多态性有 :重载多态 ,强制多态 ,包含多态和参数多态 ,参数多态性与类属相关联。文中介绍了参数多态性及其演变 ,通过实例给出了在C + +中函数模板和类模板的定义及其使用方法。
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.
出处
《武汉工程职业技术学院学报》
2004年第3期37-41,共5页
Journal of Wuhan Engineering Institute