title: Advantage of macro over in-line in C++
body: <p>We know that in-line are favorable as they are checked by the compiler and same operation ( like ++x ) does not evaluate more than once when passed as an argument as compared to macros.</p>
  
  <p>But in an interview I was asked the specific advantages or the circumstances when a macro is more favorable to inline in C++.</p>
  
  <p>Does anyone know the answer or can give a thought on this question ?</p>