Possible Duplicate:
Benefits of inline functions in C++?
My teacher explained that having a inline function instead of a standard function would make your code run faster because it insert the complete body of the function in every place that the function is called, rather than generating code to call the function in the one place it is defined. Doesnt that make the code run slower??
Why dont people make every function inline since it is faster compared to a standard function??