title: When to use inline function and when not to use it?
body: <p>I know that inline is a hint or request to compiler and its used to avoid function call overheads.</p>
  
  <p>So on what basis one can determine whether a function is a candidate for inlining or not ?
  In which case one should avoid inlining ?</p>