Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Inline Functions question
Learning about inline functions and very confused.
When I use an inline function am I [italic]not [/italic]pushing another activation record onto the stack? If not then how does the inline function know how to return to the function that called it? And where is it exactly if its not on the stack? When the function is copied where is it copied to, RAM? I don't understand this.
If I declare a function inline and then call it multiple times in my program then I will have multiple copies of the function code in my program- I really have no idea what this means. Where does the compiler put all of these copies when it builds the program?
Thanks for any responses.
0 · ·