comp.lang.ada
 help / color / mirror / Atom feed
From: Victor Porton <porton@narod.ru>
Subject: Re: Intermixing two tagged types
Date: Thu, 14 Aug 2014 14:57:18 +0300
Date: 2014-08-14T14:57:18+03:00	[thread overview]
Message-ID: <lsi86s$hqg$1@speranza.aioe.org> (raw)
In-Reply-To: lybnrnlcy8.fsf@pushface.org

Simon Wright wrote:

> Victor Porton <porton@narod.ru> writes:
> 
>> So (now in Ada terms, which I am implementing) a function can belong
>> to two tagged types.
> 
> Are you sure that it's appropriate to use *tagged* types? And even if if
> is appropriate for raptor_namespace (i.e., you derive new types from
> it), is it so for raptor_namespace_stack? - which clearly is a stack of
> raptor_namespace (or possibly raptor_namespace'Class).

Tagged types a little decrease efficiency, but I use tagged types anyway 
(primarily for controlled finalization).

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

  reply	other threads:[~2014-08-14 11:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-13 20:32 Intermixing two tagged types Victor Porton
2014-08-14  7:58 ` Simon Wright
2014-08-14 11:57   ` Victor Porton [this message]
2014-08-14 12:06     ` Dmitry A. Kazakov
2014-08-14 16:03     ` Adam Beneschan
2014-08-14 16:11       ` Victor Porton
2014-08-14 16:29         ` Adam Beneschan
replies disabled

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