Hi!
I have questions regarding inline functions.
What can be inlined? What makes a function un-inlineable?
And what kind of pre-processing does a compiler do to the body of an inli=
ne function (like=20
removing the return statement, scopes, etc.)?
For example: what happens if an inline function of a class calls another =
class member,=20
like this will it be inlined?
I'm just curious, because there can be things, which are valid inside the=
class, but=20
because of inlining, the body gets "outside" of the class scope, which ma=
kes a lot of=20
things different.
Any thoughts?
--
Greetings,
Bal=E1zs
|