From 1437300984997312602
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ccb40040597f37a7
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2003-03-24 15:31:14 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: brangdon@cix.co.uk (Dave Harris)
Newsgroups: comp.std.c++
Subject: Re: Extending enums (was Re: Forward declaration of enum)
Date: Mon, 24 Mar 2003 23:31:13 +0000 (UTC)
Lines: 25
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <memo.20030323130510.43841A@brangdon.madasafish.com>
References: <7f2735a5.0303131117.76e3c312@posting.google.com>
X-Trace: mail2news.demon.co.uk 1048548674 23795 10.0.0.1 (24 Mar 2003 23:31:14 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Mon, 24 Mar 2003 23:31:14 +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 18xbPM-0006Be-00
	for mail2news@news.news.demon.net; Mon, 24 Mar 2003 23:31:13 +0000
X-Received: from localhost (localhost [[UNIX: localhost]]) by mulga.cs.mu.OZ.AU
	id KAA24322; Tue, 25 Mar 2003 10:31:05 +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-Newsgroups: comp.std.c++
X-Reply-To: brangdon@cix.co.uk
X-Orig-NNTP-Posting-Host: pc1-clif1-6-cust113.nott.cable.ntl.com (80.4.200.113)
X-Orig-X-Trace: fu-berlin.de 1048424680 77972048 80.4.200.113 (16 [57443])
X-Spamscanner: mailbox4.ucsd.edu  (v1.2 Mar 17 2003 15:04:36, -0.2/5.0 2.43)
X-MailScanner: PASSED (v1.2.7 81506 h2ND4fP6088262 mailbox4.ucsd.edu)
X-Spam-Status: No, hits=-5.6 required=5.0
	tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01
	version=2.41
Xref: archiver1.google.com comp.std.c++:18529

allan_w@my-dejanews.com (Allan W) wrote (abridged):
> > I don't have a reference, but I recall Stroustrup saying that he knew 
> > well how to implement overloading by return type. It's easy for 
> > compilers. He rejected it because he thought it was difficult for 
> > humans.
> 
> My recollection is different [...]
> Integer division should always be integer division, regardless of
> what's going to be done with the result.

Not really. We agree that the user's experience was the deciding factor, 
rather than any perceived difficulty in implementation. You are being more 
precise about what is likely to cause users problems.

  Dave Harris, Nottingham, UK | "Weave a circle round him thrice,
      brangdon@cix.co.uk      |   And close your eyes with holy dread,
                              |  For he on honey dew hath fed
 http://www.bhresearch.co.uk/ |   And drunk the milk of Paradise."

---
[ 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                       ]



