From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9cccf6ef6149fdaa X-Google-Attributes: gid103376,public From: Robert A Duff Subject: Re: Ada Date: 2000/01/04 Message-ID: #1/1 X-Deja-AN: 568234632 Sender: bobduff@world.std.com (Robert A Duff) References: <38620350.48F8FC08@gecm.com> <83tohh$q2s$1@nnrp1.deja.com> <83u8l0$5i5$1@nnrp1.deja.com> <84rd2f$snm$1@nntp3.atl.mindspring.net> <84t8b1$ar5$1@nnrp1.deja.com> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 2000-01-04T00:00:00+00:00 List-Id: Robert Dewar writes: > A pretty big gap! Yes. >...It means for example that if you have > multiple implementations of sets, that you cannot have > a parameterless function Empty that returns the (appropriate) > empty set. Even worse, it means that literals can't be overloaded. Of course, C++ doesn't even *have* enumeration literals of different enumeration types, anyway. And for numeric literals, the C++ rule requires that each literal be marked with a character that indicates its type, which is a kludge (and certainly wouldn't work in Ada with tits capability of having many numeric types). - Bob