Questions tagged [compilation]

The tag has no usage guidance.

19
votes
6answers
8k views

Inline functions in C++. What's the point?

According to what I read, the compiler is not obliged to substitute the function call of an inline function with its body, but will do so if it can. This got me thinking- why do we have the inline ...