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.66.168.12 with SMTP id zs12mr25633006pab.37.1441801071365; Wed, 09 Sep 2015 05:17:51 -0700 (PDT) X-Received: by 10.182.81.9 with SMTP id v9mr131127obx.40.1441801071304; Wed, 09 Sep 2015 05:17:51 -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!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!kq10no2938087igb.0!news-out.google.com!f6ni5617igi.0!nntp.google.com!kq10no2938084igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 9 Sep 2015 05:17:51 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.71.180.114; posting-account=uulyKwoAAAA86DO0ODu--rZtbje8Sytn NNTP-Posting-Host: 193.71.180.114 References: <625c79d2-f5ed-4cd4-80ea-ea310e381017@googlegroups.com> <87y4ggm71k.fsf@adaheads.sparre-andersen.dk> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: working with diferent instances of the same generic interface From: Egil H H Injection-Date: Wed, 09 Sep 2015 12:17:51 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 1929 X-Received-Body-CRC: 3094768675 Xref: news.eternal-september.org comp.lang.ada:27749 Date: 2015-09-09T05:17:51-07:00 List-Id: On Wednesday, September 9, 2015 at 1:08:51 PM UTC+2, Aitor Alcrudo Sangros wrote: Reporting_basic.Reporting_Element_Access is an access type that can only point to variables of type Reporting_basic.Reporting_Element. Element_type_A_Access is an access type that can only point to variables of type Element_type_A (which derives from Reporting_some.Reporting_Element) Reporting_some.Reporting_Element and Reporting_basic.Reporting_Element are two different types. Converting between them (or access to them) would be like trying to convert a giraffe into an elephant. -- ~egilhh