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,7638bc607ef4fdc8 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Limits for Generic Formal Package paremeters with tagged types? Date: 1996/07/21 Message-ID: #1/1 X-Deja-AN: 169958800 references: organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-07-21T00:00:00+00:00 List-Id: In article , Scott Moody wrote: > >Discussion on Layering and Generics and Generic Formal Package paremeters >with tagged types: >... I apologize if I don't fully understand your question, but it sounds like what you want is an array of Symbol'Class. But that's not allowed -- Ada wants all array elements to be of the same size. So what you need to do is have an array of Symbol_Ptr, where type Symbol_Ptr is access all Symbol'Class. I don't really see how the generic-ness in your example makes any difference to this point -- maybe I'm missing the point. - Bob