Boost logo

Boost Users :

From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-03-31 15:30:35


On Mon, Mar 31, 2008 at 1:06 PM, Ovanes Markarian <om_boost_at_[hidden]>
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.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net