As mentioned in this post, the example program in section 34.2.3 – Using Pointers or References to Streams of the User Guide is ill-formed:
at the very end of http://stdcxx.apache.org/doc/stdlibug/34-2.html
there is an example of using a reference to create a "copy" of cout.
However this example doesn't initialize the defined reference at once
(which is required in C++) and for this reason doesn't compile with my
For convenience here is the example: