#168 Improve "const correctness"

open
nobody
None
5
2005-07-11
2005-07-11
No

Would you like to apply the advices from the article
"http://en.wikipedia.org/wiki/Const_correctness" to
your sources?
I suggest to add the key word "const" to the type
specifiers for parameters like the following.
- msg (function "fe_message")

http://cvs.sourceforge.net/viewcvs.py/xchat/xchat2/src/common/fe.h?rev=1.28&view=markup

- fmt (function "tcp_sendf")

http://cvs.sourceforge.net/viewcvs.py/xchat/xchat2/src/common/server.h?rev=1.3&view=markup

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks