[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppConstCorrectness
Check out Herb Sutter's GOTW archive for an overview and exercise.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppConstCorrectness
(C++) Const correctness
Always using the const keyword. It is a very good thing to do [1-4]. Also, it is an even better thing to adopt doing this from the start [1-4].Check out Herb Sutter's GOTW archive for an overview and exercise.
External links
- http://gotw.ca/gotw/006.htm
References
- 1) Cline, Lomow, and Girou. C++ FAQs. 1999. ISBN: 0-201-30983-1
- 2) C++ FAQ LITE
- 3) Herb Sutter and Andrei Alexandrescu. C++ coding standards: 101 rules, guidelines, and best practices. ISBN: 0-32-111358-6. Chapter 15: 'Use const proactively'
- 4) Bjarne Stroustrup. The C++ Programming Language (3rd edition).ISBN: 0-201-88954-4
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
