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

C++中内联函数的使用
引用本文:袁万莲.C++中内联函数的使用[J].宿州学院学报,2006,21(2):73-75.
作者姓名:袁万莲
作者单位:滁州学院,数学系,安徽,滁州,239012
摘    要:本文分析了内联函数和函数区别,内联函数与宏的区别,以及内联函数和宏使用时的限制,并且阐述了内联函数在类中如何使用。

关 键 词:面向对象技术  内联函数    
文章编号:1673-2006(2006)02-0073-03
修稿时间:2005年8月18日

The Use of Inline Function in C++
YUAN Wan-lian.The Use of Inline Function in C++[J].Journal of Shuzhou College,2006,21(2):73-75.
Authors:YUAN Wan-lian
Abstract:This paper analyses the difference between inline function and function, the difference between inline function and macro, and the limit to the use of inline function and macro. Moreover, this paper illuminates how to use inline function in class.
Keywords:object oriented technique  inline function  macro  class  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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