comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Abstract type derivation?
Date: 1996/04/10
Date: 1996-04-10T00:00:00+00:00	[thread overview]
Message-ID: <DpnCGG.46M@world.std.com> (raw)
In-Reply-To: 4kb0hb$k87@dfw.dfw.net

In article <4kb0hb$k87@dfw.dfw.net>, David Weller <dweller@dfw.net> wrote:
>I want to create an abstract type that is derived from Controlled
>(which is itself abstract).

    type Queue is abstract new Controlled with private;
                  ^^^^^^^^

Also, to prevent objects from being created, consider using unknown
discriminants.

- Bob




  reply	other threads:[~1996-04-10  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-08  0:00 Abstract type derivation? David Weller
1996-04-10  0:00 ` Robert A Duff [this message]
1996-04-12  0:00 ` Geert Bosch
replies disabled

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