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,6c424a2d310d290 X-Google-Attributes: gid103376,public From: mheaney@ni.net (Matthew Heaney) Subject: Re: Ada Generic Library (very) preliminary release Date: 1997/07/13 Message-ID: #1/1 X-Deja-AN: 256672635 References: <33C39534.E8DAC63D@elca-matrix.ch> Organization: Estormza Software Newsgroups: comp.lang.ada Date: 1997-07-13T00:00:00+00:00 List-Id: In article , Brian Rogoff wrote: >(The high priority >is finding a better way around the interleaving omission I mention above, >since it forces too much to be public, as Mats Weber pointed out. I know >this, but I am uncertain as to what to do. One solution might be to just >break up the iterator child package into two or more, and use with clauses >to "order" the elaboration of the children). I haven't seen the library, but if you want some parts public and some private, you have to do it this way in Ada 95: type Root_Stack_Public is tagged record end record; type Root_Stack is new Root_Stack_Public with private; procedure Push (Item : in Stack_Item; On : in out Root_Stack); private procedure (Stack : in out Root_Stack); ... end Stacks_G; What are you trying to do, exactly, that can't be done as is shown above? Matt P.S. Actually, I was in Troy last weekend. Didn't get a chance to visit the VCC, though. (I graduated from RPI back in '85.) -------------------------------------------------------------------- Matthew Heaney Software Development Consultant (818) 985-1271