Improve "const correctness"
Brought to you by:
harbourn,
jessekornblum
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.
- str (functions "parse_conversion", "hex2char")
http://cvs.sourceforge.net/viewcvs.py/dcfldd/dcfldd/dcfldd.h?rev=1.7&view=markup
- pattern (functions "make_pattern", "replicate_pattern")
http://cvs.sourceforge.net/viewcvs.py/dcfldd/dcfldd/pattern.h?rev=1.3&view=markup
Logged In: YES
user_id=572001
Originator: YES
How do you think about the suggested API polish?