Changes between Version 26 and Version 27 of code/C++_styleguide
- Timestamp:
- Sep 21, 2008, 8:46:00 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/C++_styleguide
v26 v27 19 19 20 20 === const === 21 Use const when it's possible. This includes variables and function declaration. Specially for function '''const''' is very important. Use it always if a function doesn't change the object.21 Use const when it's possible. This includes variables and function declaration. Specially for functions, '''const''' is very important. Use it always if a function doesn't change the object. 22 22 {{{ 23 23 SomeClass.h: