no matching function (now subclassing iostream)

Roger Collins roger@ProProject.com
Sun Feb 11 05:49:00 GMT 2001


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
>



More information about the Gcc mailing list