Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inside or outside an if statement - what's the difference?



> I cannot imaging what. In all my years of experience with compilers, I've
> never had any exhibit behavior that would make me question the integrity of an
> if/else block.

Visual C++ 4.2. I actually had a case where it "optimized" out the test and
executed the code unconditionally. Verified 100% via good old-fashioned
printf debugging.


-- 
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Inside or outside an if statement - what's the difference? (From: James Bucanek <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.