On 08 January 2008 15:36, Dave Korn wrote:

> On 07 January 2008 21:15, Mark Mendell wrote:
> 
>> A question was raised:  Are side effects in the second parameter guaranteed
>> to be executed?  Is it valid for a compiler to ignore any side effects?
> 
>   That perked up my curiosity:
> 
> "  The value of C must be a compile-time constant.  "
> 
>   Can a compile-time constant have run-time side-effects?  I couldn't think
> up an example off the top of my head...


  Ah, I thought of one, nevermind, sorry for the noise...



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

Reply via email to