title: Inline function
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/145838/benefits-of-inline-functions-in-c">Benefits of inline functions in C++?</a>  </p>
  </blockquote>
  
  
  
  <p>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??</p>
  
  <p>Why dont people make every function inline since it is faster compared to a standard function??</p>