What does the keyword inline do?
Answer:
It recommends to the compiler that the code for this function be generated “inline”
without the overhead of the code needed to call a function and return from it. It is used
only for short function since the entire body of the function is place inline where the
function is called.
without the overhead of the code needed to call a function and return from it. It is used
only for short function since the entire body of the function is place inline where the
function is called.
No comments:
Post a Comment