Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Is enum a suitable way to implement a "local define?"
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Tim Rentsch" data-source="post: 5155092"><p>Right! I should have double checked before posting.</p><p></p><p><counter-nit-pick>In most (okay, probably all) implmentations,</p><p>null pointer constants can be evaluated at compile time, but</p><p>I believe the Standard does not /require/ them to be evaluable</p><p>at compile time.</counter-nit-pick></p></blockquote><p></p>
[QUOTE="Tim Rentsch, post: 5155092"] Right! I should have double checked before posting. <counter-nit-pick>In most (okay, probably all) implmentations, null pointer constants can be evaluated at compile time, but I believe the Standard does not /require/ them to be evaluable at compile time.</counter-nit-pick> [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Is enum a suitable way to implement a "local define?"
Top