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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4f788831da4de764 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-16 15:56:06 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Abstract Functions Date: Mon, 16 Jul 2001 18:15:05 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9ivp1a$db2$1@nh.pace.co.uk> References: <9ihnia$i8h$1@nh.pace.co.uk> <6b_27.15423$Kf3.181711@www.newsranger.com> <9ihs6j$k33$1@nh.pace.co.uk> <3B53601D.1295AF39@avercom.net> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 995321706 13666 136.170.200.133 (16 Jul 2001 22:15:06 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 16 Jul 2001 22:15:06 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:10034 Date: 2001-07-16T22:15:06+00:00 List-Id: Interesting. I could have sworn that I waved it in front of the compiler and heard it whine about having an abstract function on a non-abstract tagged type. You are saying that I have to derive a whole new class from the non-abstract and tag that type as being abstract? Just goes to show one more example of Originality Through Incompetence! :-) Maybe I'll take another SWAG at it, but basically I found a "better" way of doing the job that involved restructuring the class heierarchy some. Hence, now everything is abstract until it becomes concrete. But its good to know that a solution does exist. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Tucker Taft" wrote in message news:3B53601D.1295AF39@avercom.net... > > That's not true. Abstractness is *not* inherited. An > abstract type can have a non-abstract parent, and vice-versa. > So you could have a useful non-abstract "grandparent" type, > an abstract immediate parent, and then a non-abstract > child of this parent. Also remember that functions that > return the type will automatically become abstract on > inheritance, and thereby require overriding. >