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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b0f4738b8e27cca3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-25 10:45:44 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed.vmunix.org!npeer.de.kpn-eurorings.net!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: "Ekkehard Morgenstern" Newsgroups: comp.lang.ada Subject: Re: Problem with protected type Date: Tue, 25 Nov 2003 19:45:47 +0100 Organization: 1&1 Internet AG Message-ID: References: NNTP-Posting-Host: p508c004b.dip0.t-ipconnect.de X-Trace: online.de 1069785943 7106 80.140.0.75 (25 Nov 2003 18:45:43 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Tue, 25 Nov 2003 18:45:43 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:2935 Date: 2003-11-25T19:45:47+01:00 List-Id: "Ludovic Brenta" schrieb im Newsbeitrag news:m38ym4xuqq.fsf@insalien.org... > > Because, I think, CoreEvent is not completely defined at the point > where you use it inside BaseEvent. Therefore the compiler does not > know how much memory to allocate for a BaseEvent. Yup. I wanted to declare a type, not an object, and forgot the "type" keyword. ;-) > By contrast, the access type is completely defined, so you can use it > in the BaseEvent. Yeah. I wonder now if I should go and change it back to using direct object instances instead of class-wide access and dynamic allocation.