When did this change? "const char *ptr" used to mean that the thing pointed to cannot be changed, but the pointer itself can be. So far as I know, it still does. Educate me, please, if that's no longer so.
On Fri, Apr 26, 2002 at 07:44:27PM +0300, Ruslan Ermilov wrote: > > > 3. Double `const' doesn't do any good. (I was once confused about this too.) > > > > (const char *const ptr? > > > > Why? I deem `const' can't make a code worse, only better, cause it makes an > > additional description of variables/functions/code/algo...) > > > Because this is merely equivalent to "const char *ptr". -- Barney Wolff I never met a computer I didn't like. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message