12.2. Objectives of This Chapter
- 1. Created an extended version of the standard string class that allows case-insensitive searching and comparison;
- 2. Learned how to use include guards to prevent a class interface from accidentally being defined more than once;
- 3. Learned more about the hazards of the "magic" value 0, as well as how we can prevent one of them that can occur when using the standard string class;
- 4. Learned how to restrict the application of a constructor via the explicit keyword.
- 5. Discovered just how difficult it is to anticipate how a program will be used and how many bugs it may contain;
- 6. Seen how a seemingly simple request for an added feature in a program can be extremely difficult to fulfill.
|
www.steveheller.com steve@steveheller.com |