Thursday, November 18, 2010

Spilled Inline Function

A "spilled inline function" is an inline function that is not inlined.

When a compiler cannot inline a function into an object file, it needs to "spill" a copy of it into the object file. It places calls to this function instead of inlining the function.

Reference: C++ Templates: The complete guide by David Vandevoorde and Nicolai M. Josuttis. Addison-Wesley, 2003, p. 156

No comments:

Post a Comment