From -2081574486222657472
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,f1dec9ce20a9c98f
X-Google-Attributes: gidf78e5,public
From: Pete Becker <petebecker@acm.org>
Subject: Re: null pointers (was: Why's of C++ -- Part 1)
Date: 1999/08/19
Message-ID: <37BB6D8B.ADD24984@acm.org>#1/1
X-Deja-AN: 514601013
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>
X-Original-Date: Wed, 18 Aug 1999 22:35:55 -0400
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: izvestia.its.unimelb.edu.au 935050903 14786 128.250.29.17 (19 Aug 1999 08:21:43 GMT)
Organization: Road Runner
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAN7u+iuEDnX0m9pzZAQGFmgF/W6KEGRTotCVJCWvEU/ClLicm9Z/PRGeK 528wAADtuOPs3YGy1T3hIoL+/g3UPku2 =etPG
Mime-Version: 1.0
NNTP-Posting-Date: 19 Aug 1999 08:21:43 GMT
Newsgroups: comp.std.c++

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).

-- 
Pete Becker
Dinkumware, Ltd.
http://www.dinkumware.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              ]



