Originally Posted by
matsp
Yes, but several times in this post we have commented on "it is not, generally, a good idea to inline without good reason". Yes, there are cases (getters, setters with simple functions and simple data types) where inlining it is a natural.
However, not only is inlining sometimes detrimental to performance. It has a completely different-side effect too.
Let's say we have a scenario where we use a .DLL to implement a class. In version one, we implement the class like this: