Inlining replaces a function call with the called function's implementation in the caller's context. It removes call overhead and lets the compiler optimize the callee alongside surrounding code. section 15.1
Making an inline definition visible
A header can contain an inline definition such as toto_init. Including that definition lets a compiler that knows the callee replace calls and detect dead branches, known results, or restricted return values. section 15.1
Inlining depends on how function definitions are made visible:
- Compile concatenated project code as one large translation unit, while avoiding definition cycles and naming conflicts. section 15.1
- Place definitions in headers included by the required translation units, then arrange declarations and instantiation to avoid multiple definitions. section 15.1



