Friday, January 20, 2006

The inline function in debug/release build.

The inline function in debug and release build.

Page 673 of “Debugging Applications For Microsft.Net and Microsoft Windows”.

In release builds, inline indicates to the complier that it’s supposed to take the code inside the function and pop it directly into where it is being used instead of making a function call. However, in a debug build inline-specified functions don’t get expanded and are treated as normal functions.

No comments: