| delorie.com/archives/browse.cgi | search |
| From: | Erik Max Francis <max AT alcyone DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Overloading the << operator. |
| Date: | Fri, 08 Aug 1997 17:03:49 -0700 |
| Organization: | Alcyone Systems |
| Lines: | 22 |
| Message-ID: | <33EBB3E5.3AEE93D8@alcyone.com> |
| References: | <33e40528 DOT 21082895 AT news DOT bright DOT net> <Pine DOT SUN DOT 3 DOT 93 DOT 970803122401 DOT 8956A-100000 AT degobah> <33E4D275 DOT 772779FD AT alcyone DOT com> <5s9itc$1nv$1 AT horus DOT mch DOT sni DOT de> |
| NNTP-Posting-Host: | newton.alcyone.com |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Makulik.Guenther T 27528 R 91-811 WS tx24 wrote:
> Erik Max Francis (max AT alcyone DOT com) wrote:
>
> : > Try:
> : > friend ostream &operator << (ostream &, const MyClass &);
> : > ^^^^^
> : > This works fine for me.
>
> That's not the problem for sure! It is allowed to declare the parameter
> as non-const.
Please watch your attributions. I not only did not write what you quote
here, but I in fact said exactly the same things that you did.
--
Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com
Alcyone Systems / web / http://www.alcyone.com/max/
San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W
\
"Love is not love which alters / when it alteration finds."
/ William Shakespeare, _Sonnets_, 116
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |