On 18/11/2014 6:52 PM, John Gilmore wrote:
What is a non-static constant? What is the rationale for, say, an automatic one?
In C or C++ you can easily cast it to non-const. It's more explicit in C++ because one would use a const_cast<> expression. But in C it's not so obvious.
Named and unnamed constants, literals, should properly be treated as a separate storage class John Gilmore, Ashland, MA 01721 - USA ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
