Apache C++ Standard Library User's Guide
Chapter 34: Streams and Stream Buffers
34.1 Streams as Objects
34.2 Copying and Assigning Stream Objects
34.2.1 Copying a Stream's Data Members
34.2.2 Sharing Stream Buffers Inadvertently
34.2.3 Using Pointers or References to Streams
34.3 Sharing a Stream Buffer Among Streams
34.3.1 Several Format Settings for the Same Stream
34.3.2 Several Locales for the Same Stream
34.3.3 Input and Output to the Same Stream
34.4 Copies of the Stream Buffer