This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: no matching function (now subclassing iostream)
- To: <gcc at gcc dot gnu dot org>
- Subject: RE: no matching function (now subclassing iostream)
- From: "Roger Collins" <roger at ProProject dot com>
- Date: Sun, 11 Feb 2001 08:44:15 -0500
Craig Rodrigues has also reproduced this problem. Here's what I wrote to
him.
I think deriving any class from iostream will do it...
#include <iostream.h>
class PSystemLog : public iostream {
public:
PSystemLog() { }
};
main()
{
PSystemLog log;
cout << "hello world\n";
}
> -----Original Message-----
> From: Craig Rodrigues [mailto:rodrigc@mediaone.net]
> Sent: Saturday, February 10, 2001 7:14 PM
> To: Roger Collins
> Subject: Re: no matching function
>
>
> Hi,
>
> Can you isolate your problem to a reproducible test case?
> --
> Craig Rodrigues
> http://www.gis.net/~craigr
> rodrigc@mediaone.net
>