cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Inline functions
Inline functions
Dec 2, 2009 at 11:28pm UTC
ArcherSam
(20)
With inline functions, when the function is called from a global perspective. Does the function transplant from global to local in the function its being called in. Or am I completely off?
Last edited on
Dec 2, 2009 at 11:28pm UTC
Dec 3, 2009 at 2:50am UTC
Zhuge
(4664)
It's basically as if you have replaced the function call with the code it contains. I'm not sure what you mean by "global perspective" though.
Dec 4, 2009 at 9:09pm UTC
ArcherSam
(20)
Thanks Zhuge,
So an inline function is when a function is called, where the call is, it is substituted with the code in the funtion's block.
What I mean by global perspective is global scope.
Topic archived. No new replies allowed.