Possible Duplicate:
Inline functions vs Preprocessor macros
In C++ the inline function qualifier basically replaces the function as a #define directive, rather than making the function being called over and over again. Thus reducing overhead time, but at the same time increasing program size.
If my understanding of inline function is correct, what is the different, of inline and #define?