Topic summary

Inline function

Inline function

Extracted from the Wikipedia article Inline (C and C++).

Storage classes of inline functions

static inline has the same effects in all C dialects and C++. It will emit a locally visible (out-of-line copy of the) function if required.