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.5 required=5.0 tests=BAYES_00,INVALID_MSGID,
PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 103376,758f1e01b86b6274
X-Google-Attributes: gid103376,public
From: "Pascal Obry"
Subject: Re: Export instances of procedures
Date: 2000/04/19
Message-ID: <8djth8$du2$1@wanadoo.fr>#1/1
X-Deja-AN: 613058856
References: <38FCBA00.992AA7A2@maths.unine.ch> <8djpm3$qef$2@wanadoo.fr>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
X-Complaints-To: abuse@wanadoo.fr
X-Trace: wanadoo.fr 956135784 14274 164.138.227.70 (19 Apr 2000 09:16:24 GMT)
Organization: home
NNTP-Posting-Date: 19 Apr 2000 09:16:24 GMT
Newsgroups: comp.lang.ada
Date: 2000-04-19T09:16:24+00:00
List-Id:
Jean-Pierre Rosen a �crit dans le message <8djpm3$qef$2@wanadoo.fr>...
>An instantiation is both a spec AND a body. Just remove the explicit spec,
>and it will work.
This is not possible in his example. The spec is in a package spec (to
be exported) and he wants the body to be an instance of a generic (all
this defined in a package body).
There is no other choice than using another name and doing a "rename" I
would say.
Pascal.
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"