What is an inline function?
Show answer and explanation
An inline function may be defined identically in multiple translation units while denoting one entity under the ODR. inline is not a command that guarantees machine-code inlining; optimization decisions remain with the compiler.
An inline function may be defined identically in multiple translation units while denoting one entity under the ODR. inline is not a command that guarantees machine-code inlining; optimization decisions remain with the compiler.
Connect the conclusion directly to the type, lifetime, ownership, overload-resolution rule, or library contract present in the question. State implementation dependence or a violated precondition explicitly instead of merely guessing output.