This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: no matching function (now subclassing iostream)


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]