[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
On Thu, Aug 01, 2002 at 04:45:25PM +0100, Simon Waters wrote:
I'm not sure if marking them read-only ("const") will speed things up, but I figure it has to make it easier to find bugs, and it has to give the compiler a clue.
A good rule, in C++ at least, is to use const wherever possible. That is for real constants, constant arguments to functions, etc. Steve -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.