Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #7790

Re: No match for 'operator<<' in '((HttpRequest*

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: No match for 'operator<<' in '((HttpRequest*
Date Thu, 14 Jul 2011 16:58:22 +1200
Lines 26
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>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net l5TrH5oc2Xt1fYqtrcEmfAjXyLx1NeVjXWPEP6L6WlAuHgrLQF
Cancel-Lock sha1:R4dWkS0v1DGGuisbuCc05Y42ueU=
User-Agent Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4
In-Reply-To <ecace4bf-3150-42a4-a645-178e4654b1e5@m3g2000pre.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++:7790

Show key headers only | View raw


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


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