From 8956749631088296719
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ccb40040597f37a7
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2003-03-11 21:26:40 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: usenet@phatbasset.com ("Hillel Y. Sims")
Newsgroups: comp.std.c++
Subject: Re: Extending enums (was Re: Forward declaration of enum)
Date: Wed, 12 Mar 2003 05:26:36 +0000 (UTC)
Organization: Phat Basset Novelties, www.phatbasset.com
Lines: 31
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <4syba.121217$gf7.26644372@news4.srv.hcvlny.cv.net>
References: <PNE21WKuwwiy-pn2-2YXh1K9td7dn@zamboni.stiscan.com>
 <memo.20030310212425.56925C@brangdon.madasafish.com>
 <HFeba.21313$gi1.5997@nwrdny02.gnilink.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7BIT
X-Trace: mail2news.demon.co.uk 1047446796 7017 10.0.0.1 (12 Mar 2003 05:26:36 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Wed, 12 Mar 2003 05:26:36 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.05)
	id 18syl9-0001p2-00
	for mail2news@news.news.demon.net; Wed, 12 Mar 2003 05:26:35 +0000
X-Received: from localhost (localhost [[UNIX: localhost]]) by mulga.cs.mu.OZ.AU
	id QAA22180; Wed, 12 Mar 2003 16:26:29 +1100 (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++@ncar.ucar.edu
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-NNTP-posting-date: Tue, 11 Mar 2003 23:11:44 EST
X-Priority: 3
X-MSMail-priority: Normal
X-Newsgroups: comp.std.c++
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MailScanner: PASSED (v1.2.7 27484 h2C4C7lN047764 mailbox2.ucsd.edu)
X-Spam-Status: No, hits=1.1 required=5.0
	tests=NOSPAM_INC,PRIORITY_NO_NAME,REFERENCES,SPAM_PHRASE_00_01
	version=2.43-cvs
X-Spam-Level: *
Xref: archiver1.google.com comp.std.c++:18267


"Hyman Rosen" <hyrosen@mail.com> wrote in message
news:HFeba.21313$gi1.5997@nwrdny02.gnilink.net...
>  Even when doing overloading by return
> types, overload resolution isn't that complicated to
implement. And the
> problem was solved decdes ago.
>

Would it call 'void foo()' below?

void foo();
float foo();

int main()
{
   foo();  // ?
}

thanks,
hys
--
(c) 2003 Hillel Y. Sims
hsims AT factset.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://www.jamesd.demon.co.uk/csc/faq.html                       ]



