CHAPTER 9

image

Stream Operations

This chapter revisits the stream iterators that I introduced in Chapter 1 and discusses their capabilities in more detail. It also introduces stream buffer iterators and explains how you can use stream and stream buffer iterators in conjunction with other STL capabilities. In this chapter you will learn:

  • What function members the stream iterator classes provide.
  • How you can read and write individual data items with stream iterators.
  • What stream buffer iterators are and how they differ from stream iterators.
  • How you can read and write files using stream iterators.
  • How you can read and write files using stream buffer ...

Get Using the C++ Standard Template Libraries 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.