Monthly Archives: August 2013

A legitimate example case of __forceinline 2

There’s a lot of¬†mysticism regarding inline & __forceinline¬†even thought it is documented. What Microsoft tells us is that __forceinline turns off cost/benefit analysis of inlining, and tries to honour the developer’s request (note that it tries, it can’t do that always). Often developers are told the compiler knows what’s best […]