Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!sgi!mips!kpc.com!ardent!jss From: jss@gold.kpc.com (Jerry Schwarz) Newsgroups: comp.lang.c++ Subject: Re: possible to overload << and pass an object ptr? Message-ID: Date: 29 Mar 91 02:10:01 GMT References: Sender: uucp@kpc.com (UNIX-to-UNIX Copy) Organization: Kubota Pacific Computer Lines: 11 In-Reply-To: todd@Quotron.COM's message of 23 Mar 91 20:10:03 GMT Nntp-Posting-Host: gold In article todd@Quotron.COM (Todd Booth) writes: *o2 << 'a'; // no problem, but ugly Beauty is in the eye of the beholder. Having worked a lot with ostream* variables I have written stuff like the above a lot and no longer find it ugly. I certainly wouldn't contort my class definitions in order to avoid it. Jerry Schwarz