From -84378078363450226
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,53d56717e82ab663
X-Google-Attributes: gidf78e5,public
From: Steve Clamage <stephen.clamage@sun.com>
Subject: Re: cout << null pointers
Date: 2000/07/15
Message-ID: <396E65B3.66EB0550@sun.com>#1/1
X-Deja-AN: 646366201
Content-Transfer-Encoding: 7bit
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
References: <39656D42.E049FCAA@ix.netcom.com> <396DFE0F.E1F0D885@myview.de>
X-Accept-Language: en
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Trace: mail2news.demon.co.uk 963589650 mail2news:20729 mail2news mail2news.demon.co.uk
Organization: Sun Microsystems
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Mime-Version: 1.0
Newsgroups: comp.std.c++

Robert Klemme wrote:
> 
> Paul Meyerholtz schrieb:
> >
> > I have found an inconsistent output by various compilers of the following:
> >
> > char * p = 0;
> > cout * q = "";
> 
> nobody seemed to complain about this line of code.  what the heck is
> type 'cout'?  is this really the code you provided the compiler with?

In context, it seemed clear that it was a typo, and he meant to write
	char * q = "";
No doubt others made the same assumption. 
---
Steve Clamage, stephen.clamage@sun.com

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]




