Problem in Inline functions

It is said that inline functions are used when our function has short code.My question is what is the meaning of short code.I mean how many lines of code is permitted in inline functions.
Last edited on
As far as I know, declaring a function as an inline function is ONLY A REQUEST to the compiler to expand it inline. It may or may not be expanded inline. So you can write any amount of code in an inline function. In the worst case, the executable code size will become larger if it gets expanded or it may not be expanded inline! :)
Last edited on
Topic archived. No new replies allowed.