comp.lang.ada
 help / color / mirror / Atom feed
From: Egil H H <ehh.public@gmail.com>
Subject: Re: working with diferent instances of the same generic interface
Date: Wed, 9 Sep 2015 05:17:51 -0700 (PDT)
Date: 2015-09-09T05:17:51-07:00	[thread overview]
Message-ID: <bc49a7d4-0d08-4408-bdd5-67f7067b669f@googlegroups.com> (raw)
In-Reply-To: <adaff0f1-2522-42ad-b51b-78952da33e9c@googlegroups.com>

On Wednesday, September 9, 2015 at 1:08:51 PM UTC+2, Aitor Alcrudo Sangros wrote:
<snip>

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

  reply	other threads:[~2015-09-09 12:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-08 15:10 working with diferent instances of the same generic interface Aitor Alcrudo Sangros
2015-09-08 17:11 ` G.B.
2015-09-09  6:38 ` Jacob Sparre Andersen
2015-09-09 11:08   ` Aitor Alcrudo Sangros
2015-09-09 12:17     ` Egil H H [this message]
2015-09-09 12:41       ` Aitor Alcrudo Sangros
2015-09-09 13:10         ` Egil H H
2015-09-09 14:50           ` Aitor Alcrudo Sangros
2015-09-09 16:48             ` Egil H H
2015-09-09 19:04               ` Aitor Alcrudo Sangros
2015-09-09 19:16                 ` Dmitry A. Kazakov
2015-10-01 16:45                   ` Aitor Alcrudo Sangros
2015-10-01 19:29                     ` Dmitry A. Kazakov
2015-10-01 20:09                       ` Randy Brukardt
2015-09-13 18:22             ` Florian Weimer
2015-09-10 12:22     ` Jacob Sparre Andersen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox