#8 Improve const-correctness

open
nobody
core (19)
5
2007-03-13
2007-03-13
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://gull.svn.sourceforge.net/viewvc/gull/seagull/trunk/src/generator-stats/C_GeneratorStats.hpp?revision=101&view=markup
name, extension (function "setFileName")
P_listeStr (function "isWellFormed")

- http://gull.svn.sourceforge.net/viewvc/gull/seagull/trunk/src/protocol-data/ProtocolData.hpp?revision=156&view=markup
P_Source (function "copyValue")

Discussion

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

Sign up for the SourceForge newsletter:





No, thanks