> > Having thought about it a bunch more (because of this) I'm
> > proposing we let the compiler decide. The caller doesn't
> > know enough to make that decision.
>
> Read carefully. I said we *let* the caller decide, not *make* the
> caller decide. What, specifically, disturbs you about my proposal?
>
The 'inline' keyword is just a hint to the compiler. If optimization
is turned off, no inlining is done. If optimization is on, the
compiler may or may not decide to inline. Performance on different
compilers will vary.
To repeat: Even if I say "inline" on everything, the compiler is
free to disregard that if its optimization routines decide not to.
(Also, if I fail to say "inline" on something, the compiler may
decide to inline if optimization is active).
So aren't we all saying the same thing?
-Brent