0

"The main use for the inline keyword is not to request inlining, but to indicate that the function may be #included in multiple translation units without causing multiple definition errors."

dreakzts
  • 11
  • 3
  • 1
    Does this answer your question? [When should I write the keyword 'inline' for a function/method?](https://stackoverflow.com/questions/1759300/when-should-i-write-the-keyword-inline-for-a-function-method) – Richard Critten Nov 23 '21 at 11:45
  • Exactly which part is it that you don't understand? – molbdnilo Nov 23 '21 at 11:46
  • "but to indicate that the function may be #included in multiple translation units without causing multiple definition errors." this part, thanks so much! @molbdnilo – dreakzts Nov 23 '21 at 13:04

0 Answers0