Can inline functions have a recursion?

No.
Syntax wise It is allowed. But then the function is no longer Inline. As the compiler will never know how deep the recursion is at compilation time.

No comments:

 
Top Blogs