Conclusion

In this chapter, we have significantly improved the string class, learning some generally useful techniques and lessons in the process. In the next chapter, we'll return to our inventory control example, which we'll extend with some techniques that we haven't seen before. First, though, you should finish up with this chapter by doing the exercises.

You have been doing the exercises, haven't you? If not, you should definitely go back and do them. If you can get all of the answers right, including the reasons why the answers are the way they are, then you'll be ready to continue learning some of the more advanced concepts of C++ in the rest of this book.

Get C++: A Dialog Programming with the C++ Standard Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.