From -3590851912824160224
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,f1dec9ce20a9c98f
X-Google-Attributes: gidf78e5,public
From: miker3@ix.netcom.com (Michael Rubenstein)
Subject: Re: null pointers (was: Why's of C++ -- Part 1)
Date: 1999/08/19
Message-ID: <37c0cbfe.203669671@nntp.ix.netcom.com>#1/1
X-Deja-AN: 514619124
Content-Transfer-Encoding: 7bit
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <7opqvm$vpa$1@news.hal-pc.org> <7p0mu0$36f$1@mulga.cs.mu.OZ.AU> <FGEw80.FB0@research.att.com> <37B48FBA.2DE77379@tribble.com> <FGGtEt.8zG@research.att.com> <7pbjul$r9f$1@nnrp1.deja.com> <7pc9h4$1kds$1@news.hal-pc.org> <37BB6D8B.ADD24984@acm.org>
X-Original-Date: Thu, 19 Aug 1999 09:22:40 GMT
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: izvestia.its.unimelb.edu.au 935056079 18545 128.250.29.17 (19 Aug 1999 09:47:59 GMT)
Organization: Netcom
X-NETCOM-Date: Thu Aug 19  4:22:41 AM CDT 1999
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAN7vSpOEDnX0m9pzZAQGbCQF/U6gHmDl+o+aWATQ9/n6IvM6964DcuPvJ gMsS+zgl4c3kh3bwtMFTVIY+qJPuqQ+U =MCNg
Mime-Version: 1.0
NNTP-Posting-Date: 19 Aug 1999 09:47:59 GMT
Newsgroups: comp.std.c++

On 19 Aug 99 08:21:23 GMT, Pete Becker <petebecker@acm.org>
wrote:

>Greg Brewer wrote:
>> 
>> I agree with you on you last point but how would you feel about a proposal
>> that would make calling
>>   void f(char *);
>>   void f(int);
>> with
>>    f(NULL);
>> and
>>    f(0);
>> no longer abiguous?
>> 
>
>They are not currently ambiguous. Both call f(int).

Am I missing something?  What if NULL is defined as 0L?
---
[ 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              ]



