Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.ecp.fr!news.in2p3.fr!in2p3.fr!kanaga.switch.ch!switch.ch!newsfeed-00.mathworks.com!panix!not-for-mail From: Ruben Safir Newsgroups: comp.lang.c++ Subject: Re: templated operator()<< Date: Tue, 12 Apr 2011 01:59:01 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 20 Message-ID: References: NNTP-Posting-Host: www2.mrbrklyn.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: reader1.panix.com 1302573541 9787 96.57.23.82 (12 Apr 2011 01:59:01 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 12 Apr 2011 01:59:01 +0000 (UTC) X-Blackjet: Blackjet is a Yankee Fan X-DRMisTHEFT: Use GNU Linux today X-From: A Dark Cloud X-LOCATION: Brooklyn NY - Forget abou' it! X-NYLXS: Really - yah think computers are supposed to be broken? User-Agent: Pan/0.133 (House of Butterflies) Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:3439 On Tue, 12 Apr 2011 02:29:10 +0200, Alf P. Steinbach /Usenet wrote: > * Ruben Safir, on 12.04.2011 01:39: >> as I understand things, the operator<<() needs to be external as to the >> class and then declared as a friend of the class. I'm not sure if I >> understand why that is the case. > what?? operator<<() can be a normal class member? > It's not the case. ;-) > > > [snip question that's apparently already answered] > > Cheers & hth., > > - Alf