Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #7790
| From | Ian Collins <ian-news@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: No match for 'operator<<' in '((HttpRequest* |
| Date | 2011-07-14 16:58 +1200 |
| Message-ID | <987bd9F78bU3@mid.individual.net> (permalink) |
| References | <2a9f24c1-ac62-4d44-b518-e30a9877fc13@f39g2000prb.googlegroups.com> <9871f3F78bU1@mid.individual.net> <ecace4bf-3150-42a4-a645-178e4654b1e5@m3g2000pre.googlegroups.com> |
On 07/14/11 02:42 PM, eric wrote:
> On Jul 13, 7:08 pm, Ian Collins<ian-n...@hotmail.com> wrote:
>>
>> You don't have an operator<<( Socket*, const std::string& ) declared
>> anywhere.
>
> I add
> // ostream& operator<<(const std::string&) {}
> in class Socket
> (and : public Socket at class HttpRequest)
> or
>
> // ostream& operator<<( Socket*, const std::string& ) {}
> in class HttpRequest
>
> neither compile success
> /* that book is claim tested good on visual c++ 7.1 in window xp,
> would anyone try and post your result? */
> so
> please help again
> and thanks a lot in advance, Eric
Post your code and errors.
--
Ian Collins
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
No match for 'operator<<' in '((HttpRequest* eric <cneric12lin0@gmail.com> - 2011-07-13 17:55 -0700
Re: No match for 'operator<<' in '((HttpRequest* Ian Collins <ian-news@hotmail.com> - 2011-07-14 14:08 +1200
Re: No match for 'operator<<' in '((HttpRequest* eric <cneric12lin0@gmail.com> - 2011-07-13 19:42 -0700
Re: No match for 'operator<<' in '((HttpRequest* Ian Collins <ian-news@hotmail.com> - 2011-07-14 16:58 +1200
Re: No match for 'operator<<' in '((HttpRequest* eric <cneric12lin0@gmail.com> - 2011-07-13 22:17 -0700
Re: No match for 'operator<<' in '((HttpRequest* Ian Collins <ian-news@hotmail.com> - 2011-07-14 17:55 +1200
Re: No match for 'operator<<' in '((HttpRequest* eric <cneric12lin0@gmail.com> - 2011-07-13 23:06 -0700
Re: No match for 'operator<<' in '((HttpRequest* "io_x" <a@b.c.invalid> - 2011-07-14 10:24 +0200
Re: No match for 'operator<<' in '((HttpRequest* Ian Collins <ian-news@hotmail.com> - 2011-07-14 20:37 +1200
Re: No match for 'operator<<' in '((HttpRequest* eric <cneric12lin0@gmail.com> - 2011-07-14 04:37 -0700
Re: No match for 'operator<<' in '((HttpRequest* "io_x" <a@b.c.invalid> - 2011-07-14 17:34 +0200
csiph-web