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,baa6871d466e5af9 X-Google-Attributes: gid103376,public From: mheaney@ni.net (Matthew Heaney) Subject: Re: AQ&S Guidance on pragma Elaborate_Body Date: 1997/04/21 Message-ID: #1/1 X-Deja-AN: 236516251 References: <528878564wnr@diphi.demon.co.uk> Organization: Estormza Software Newsgroups: comp.lang.ada Date: 1997-04-21T00:00:00+00:00 List-Id: In article , mheaney@ni.net (Matthew Heaney) wrote: >> >>>... -- and furthermore, if you *do* such an >>>>instantiation, use Elaborate_All, not Elaborate >> >>Agreed. Always use ELaborate_All instead of Elaborate, except when >>mutual recursion forces you to use Elaborate. (And, of course, use >>Pure, Preelaborate, or Elaborate_Body in preference to either Elab or >>Elab_All.) OK, one more question. Why not just pragma Elaborate? If I only instantiate the generic in the package declarative region, and do not call any of its functions during elaboration or initialization, then why pragma Elaborate_All? All I the instantiator require is the generic's body, not the bodies of the packages it with's, so isn't Elaborate good enough? -------------------------------------------------------------------- Matthew Heaney Software Development Consultant (818) 985-1271