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=-0.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLYTO_END_DIGIT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c424d8135e68278 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-13 20:18:48 PST From: Patrick Hohmeyer Subject: Re: Ada2005 Newsgroups: comp.lang.ada Reply-To: pi3_1415926536@yahoo.ca References: <9v4jsj$bd1$1@infosun2.rus.uni-stuttgart.de> <9v7f26$qn2$1@infosun2.rus.uni-stuttgart.de> <3C1754BA.C4560423@informatik.uni-jena.de> <9v7q8r$1f5$1@infosun2.rus.uni-stuttgart.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit User-Agent: KNode/0.3.2 Message-ID: Date: Thu, 13 Dec 2001 23:40:59 -0500 NNTP-Posting-Host: 65.94.190.113 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1008303402 65.94.190.113 (Thu, 13 Dec 2001 23:16:42 EST) NNTP-Posting-Date: Thu, 13 Dec 2001 23:16:42 EST Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:17899 Date: 2001-12-13T23:40:59-05:00 List-Id: Peter Hermann wrote : > > The opposite is true: the Ada concept is more charming IMHO > in that the methods defined in the context belong to the > tagged type. The defining scope is crucial. > Hmmm, perhaps, but not for polymorph methods : C++ : Polymorph methods must be declared with the keyword virtual inside the brackets of the class definition. Ada95 : Polymorph methods must be declared after the type definition but befor it's freezing point. The freezing point is one of the following <>, there may be more then one and which one arrives first may actually depend on your compiler, optimisation flags and your hair-color. Huh? In this case I find the C++ definition *way* easier to understand than this Chapter 13 babbeling of Ada. IMO this should somehow be revised for Ada0x. -- Patrick Hohmeyer