 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Sat Jul 15, 2006 2:00 am Post subject: How to know the inline-function was implemented the inline w |
|
|
Hello All,
Inline before a function definition is just a request to the compiler
to make the function inline.
The compiler may or maynot make it inline..
My question is ..is there any way by which I can find at runtime
whether the particular function which is marked as inline,is made
inline or is treated like other function by the compiler ?
Thanks and Regards,
Yogesh Joshi
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ] |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Jul 19, 2006 4:22 am Post subject: Re: How to know the inline-function was implemented the inli |
|
|
ypjofficial (AT) indiatimes (DOT) com wrote:
| Quote: | Hello All,
Inline before a function definition is just a request to the compiler
to make the function inline.
The compiler may or maynot make it inline..
|
Or only inline half a function. Or inline the entire function in some
places,
yet not inline it at all in others. Or not inline it, but pass the
parameters
in a different fashion. So "the answer" is not a single boolean answer.
HTH,
Michiel Salters
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ] |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|