?
=?ISO-8859-1?Q?Ney_Andr=E9_de_Mello_Zunino?=
Alf said:You're trying to _copy_ a stream.
That doesn't make sense.
Because it doesn't make sense the std:stream class disables copying (no
copy constructor), and you'll have to pass that stream by reference.
Indeed and I would expect that compiler's diagnostic to be more clear
about it. The error message given is quite misleading, if not nonsensical.