There\'s two things about inlining:
inline
Yes, if you want to put a function in a header file, and include that file in several translation units. This is in fact the main purpose of inline in C++.