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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.68.174.98 with SMTP id br2mr11373pbc.8.1436203847807; Mon, 06 Jul 2015 10:30:47 -0700 (PDT) X-Received: by 10.140.100.136 with SMTP id s8mr469qge.2.1436203847754; Mon, 06 Jul 2015 10:30:47 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!qs7no1092722igc.0!news-out.google.com!4ni67784qgh.1!nntp.google.com!m107no709815qgd.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 6 Jul 2015 10:30:47 -0700 (PDT) In-Reply-To: <0ade6abf-34c0-46e2-8bd9-d60a00056321@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:120b:2c78:d210:503b:ec46:2a93:a3b7; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 2a02:120b:2c78:d210:503b:ec46:2a93:a3b7 References: <0ade6abf-34c0-46e2-8bd9-d60a00056321@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <426c0ad8-dda9-476f-9cb2-3d78d8629f17@googlegroups.com> Subject: Re: Declaring constants for a abstract tagged type and concrete sub classes From: gautier_niouzes@hotmail.com Injection-Date: Mon, 06 Jul 2015 17:30:47 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:26650 Date: 2015-07-06T10:30:47-07:00 List-Id: Not sure if it is useful for you, but sometimes I define a "pre-root" type which is concrete from which I define a root type which is abstract. http://excel-writer.sf.net/ew_html/excel_out__ads.htm#462_8 In the example, the "official" root type is actually: type Excel_Out_Stream is abstract new Excel_Out_Pre_Root_Type with null record; _________________________ Gautier's Ada programming http://gautiersblog.blogspot.com/search/label/Ada NB: follow the above link for a valid e-mail address