Can't recursive functions be inlined?

c, c++

Solution

Recursive functions that can be optimised by tail-end recursion can certainly be inlined. If the last thing a function does is call itself, then it can be converted into a plain loop.

Problem

Possible Duplicate: Can a recursive function be inline? What are the trade offs of making recursive functions inline.

Original source

Related problems