Inlining is a compiler optimization which eliminates function calls by replacing them with the function's code, thus executing it inline. Use this tag for question about this kind of optimization, combined with the appropriate language tag and, where applicable, compiler tag.
Inlining a function is the process of replacing a call to a function with the implementation of the function. In contrast, in various versions of the C and C++ programming languages, an inline
function is a function whose definition (function body) can be exposed to multiple translation units without link time errors. This eases the ability for the compiler to "inline expand" the code at the locations where it is called, rather than generating code to call the function in the one place it is defined. Compilers are not obligated to respect the implied request by the inline
keyword to "inline expand" the code at the point of call.