comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: A trouble with different instantiations of generic packages
Date: Wed, 29 Nov 2017 10:04:31 +0100
Date: 2017-11-29T10:04:31+01:00	[thread overview]
Message-ID: <ovlt6v$1rjd$2@gioia.aioe.org> (raw)
In-Reply-To: ovl1ji$fi4$1@gioia.aioe.org

On 29/11/2017 02:13, Victor Porton wrote:
> Yes, to use formal generic packages seems a solution.

Or to use generic children packages:

    generic
       type T is ...;
    package A is
       ...
    end A;

    generic
    package A.B is ... -- This one goes with the same T
       ...
    end A.B;

These are two competing approaches.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

      reply	other threads:[~2017-11-29  9:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28 23:22 A trouble with different instantiations of generic packages Victor Porton
2017-11-29  1:13 ` Victor Porton
2017-11-29  9:04   ` Dmitry A. Kazakov [this message]
replies disabled

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