On Mon, Mar 31, 2008 at 1:06 PM, Ovanes Markarian <om_boost@keywallet.com> wrote:
Sorry again I misread your post. As Steven already posted if you optimize for speed compiler will optimize this down to const.

If you don't like the idea of checking the generated assembler and you use visual studio. You can compile in release mode with debug infos enabled. Then you can step through your functionality and see what was inlined. This is for sure not a guarantee that compiler will always inline or optimize this code, but most likely it will.


With Kind Regards,
Ovanes

Thanks for the help guys. For some odd reason I forgot about inlining when I originally made my inquiry. My head has been running in circles all day, I apologize for the way I phrased my question. I actually already knew this stuff but I had a brain fart.