#2 Improve const-correctness

open
nobody
None
5
2013-01-11
2007-02-20
No

Would you like to apply the advices from the article "http://en.wikipedia.org/wiki/Const-correctness" to more places in your sources?
I suggest to add the key word "const" to the type specifiers for parameters like the following.
- http://virtuoso.cvs.sourceforge.net/virtuoso/virtuoso-opensource/libsrc/plugin/plugin.h?revision=1.1.1.1&view=markup
file_name, function_name (function "uv_load_and_check_plugin")

- http://virtuoso.cvs.sourceforge.net/virtuoso/virtuoso-opensource/libsrc/util/logmsg.h?revision=1.1.1.1&view=markup
level, file, line, mask, format (function "logmsg")

Discussion


Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks