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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cc02cc67abeb4941,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-12 03:06:10 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!enst!enst.fr!not-for-mail From: Christoph Grein Newsgroups: comp.lang.ada Subject: Re: Two questions Date: Mon, 12 Mar 2001 11:59:21 +0100 (MET) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Trace: avanie.enst.fr 984395109 4605 137.194.161.2 (12 Mar 2001 11:05:09 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 12 Mar 2001 11:05:09 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: Content-MD5: wDrUGHq0kIbNlkyBm24ZVQ== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0 Precedence: bulk X-Reply-To: Christoph Grein List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: supernews.google.com comp.lang.ada:5630 Date: 2001-03-12T11:59:21+01:00 package something_cool is type cool is tagged private; function Create (P: in Some_Parameters) return Cool; -- gets abstract on -- derivation procedure Create (c : out cool; P: in Some_Parameters); -- does not get -- abstract on -- derivation package constructor is -- nothing inside will be inherited procedure create (c : out cool; ... ... ); end constructor; private ... end something_cool; Thus make your choice. As Randy said, you can end with a bunch of useless constructors with the inherited ones.