comp.lang.ada
 help / color / mirror / Atom feed
From: Victor Porton <porton@narod.ru>
Subject: Re: Primitive subprogram for a subtype?
Date: Mon, 21 Aug 2017 15:32:02 +0300
Date: 2017-08-21T15:32:02+03:00	[thread overview]
Message-ID: <onejsp$1i5j$1@gioia.aioe.org> (raw)
In-Reply-To: one0sq$j6l$1@gioia.aioe.org

Dmitry A. Kazakov wrote:

> On 21/08/2017 00:45, Victor Porton wrote:
>> Is it possible to define a primitive subprogram for a subtype rather than
>> the base type?
> 
> No, a subtype (Ada subtype) would have same tag.

How is it related to having the same tag? I do NOT speak about defining a 
primitive subprogram for both the type and its subtype but for the subtype 
only.

-- 
Victor Porton - http://portonvictor.org

  reply	other threads:[~2017-08-21 12:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-20 22:45 Primitive subprogram for a subtype? Victor Porton
2017-08-21  7:08 ` Dmitry A. Kazakov
2017-08-21 12:32   ` Victor Porton [this message]
2017-08-21 12:42     ` Egil H H
2017-08-21 12:50     ` Dmitry A. Kazakov
2017-08-21 14:00     ` J-P. Rosen
2017-08-21  7:36 ` mockturtle
replies disabled

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