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:

Post a Comment

comment on this post

Note: Only a member of this blog may post a comment.