Re: Documentation example doesn't compile with gcc

2008-11-15 Thread Martin Sebor
Misha Aizatulin wrote: hi all, 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 co

Documentation example doesn't compile with gcc

2008-11-14 Thread Misha Aizatulin
hi all, 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 gcc 4.2.1.