I have some questions about inline functions as mentioned below.
1) I read that function call of an inline function will be replaced by the code at compile time. If this is true, can any one please let me know how it will work with virtual functions because virtual function is a concept based on late binding.
2) Is it possible to put a break point inside an inline function?
3) If an inline function is simply replacing the function call and if the inline function has a return statement, why the caller of the inline function is not terminated with the return statement of the inline function?
4) Is there any way to force the gcc compiler to use the function as inline instead of just a suggestion to the compiler?