From 482763945918038966
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,314ebdf2ff957e27
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2003-04-23 19:24:48 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!logbridge.uoregon.edu!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: ron@sensor.com ("Ron Natalie")
Newsgroups: comp.std.c++
Subject: Re: Why int main()?
Date: Thu, 24 Apr 2003 02:24:47 +0000 (UTC)
Lines: 18
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <KJHpa.105$b9.92@fe02.atl2.webusenet.com>
References: <Qbvla.955$5Z2.28625@newsfep1-win.server.ntli.net> <RkkxdPDmqwl+Ewp6@robinton.demon.co.uk> <3E9821CE.8AC8B8C6@web.de> <d6651fb6.0304150039.67fdce42@posting.google.com> <7f2735a5.0304161119.2d516e7d@posting.google.com> <Lbina.6887$Y57.3348@fe05.atl2.webusenet.com> <d6651fb6.0304230831.57a6e4f6@posting.google.com> <3EA7067C.BD7A6968@unet.univie.ac.at>
X-Trace: mail2news.demon.co.uk 1051151087 5523 10.0.0.1 (24 Apr 2003 02:24:47 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Thu, 24 Apr 2003 02:24:47 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.12)
	id 198WPl-0001Qw-00
	for mail2news@news.news.demon.net; Thu, 24 Apr 2003 02:24:46 +0000
X-Received: from localhost (localhost [[UNIX: localhost]]) by mulga.cs.mu.OZ.AU
	id MAA27258; Thu, 24 Apr 2003 12:24:43 +1000 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Path: comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Delivered-To: std-c++@ucar.edu
X-Newsgroups: comp.std.c++
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
X-NNTP-Posting-Date: Wed, 23 Apr 2003 22:11:54 EDT
X-Spam-Status: No, hits=-0.7 required=5.0
	tests=INVALID_MSGID,MAILTO_TO_SPAM_ADDR,PRIORITY_NO_NAME,
	      QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01
	version=2.41
Xref: archiver1.google.com comp.std.c++:18927


"Thomas Mang" <a9804814@unet.univie.ac.at> wrote in message news:3EA7067C.BD7A6968@unet.univie.ac.at...

> A point against "void main()":
> It violates the overloading rules because we'd have then 2 functions differing
> only in the return type.
> OTOH, main is special anyways, why not make it special regarding this too,
> since there is hardly an ambiguity to expect in practice........

Main is sort of reverse overloaded anyhow.


---
[ 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://www.jamesd.demon.co.uk/csc/faq.html                       ]



