On 04/23/2010 12:21 AM, Stephen Gallagher wrote:
11 times out of 10, it's a bad idea to use inline explicitly.
Modern
compilers will automatically optimize small functions into inline
where it is safe to do so.
Yes, but gcc can't inline it if it is defined in another translation
unit, although I heard something like this might be supported in the
future :) IMHO it is pretty OK for small functions, but sure, if we keep
it normal it definitely won't affect our performance in any noticeable way.
Martin