On Tue, 2006-12-19 at 02:21 -0500, House, Jason J. wrote: > The const keyword has been completely removed from the language and > makes it hard to force such restrictions on "library users".
I use const all the time in my C code but only for myself - almost like a comment in the source code saying "don't mess with this pointer." I thought all it did was generate compiler warning messages, but I never payed that much attention to it. I just automatically stuck it the prototype to indicate to me it was read only. In fact, I will probably take it out if it causes the compiler to generate extra code. I would think such a think might help the compiler optimize though. - Don _______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/