comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: constructor in abstract tagged types
Date: Thu, 9 May 2019 07:40:25 -0700 (PDT)
Date: 2019-05-09T07:40:25-07:00	[thread overview]
Message-ID: <82417f9e-295d-4368-91ec-e79ce5349193@googlegroups.com> (raw)
In-Reply-To: <0ca05176-a819-4e9a-8c6c-3a0c1f32f964@googlegroups.com>

Am Mittwoch, 8. Mai 2019 20:37:25 UTC+2 schrieb Daniel:
Dmitry's solution is the way to do it.

>   procedure F_forced_to_do_it is abstract;

This is not a primitive operation of Fathers.
Declaring it abstract makes it uncallable. So why define it at all.

> package FATHERS.SONS is
> procedure F_Forced_to_do_it;

This is not inherited, so does not override the abstract operation definied in Fathers.
It's also not a primitive operation.

> end FATHERS.SONS;


  parent reply	other threads:[~2019-05-09 14:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-08 18:37 constructor in abstract tagged types Daniel
2019-05-08 19:26 ` Dmitry A. Kazakov
2019-05-18 11:31   ` Daniel
2019-05-08 20:50 ` Jere
2019-05-10 22:35   ` Randy Brukardt
2019-05-09 14:40 ` AdaMagica [this message]
2019-05-10  4:46   ` Petter Fryklund
2019-05-18 11:35   ` Daniel
2019-05-10 22:40 ` Randy Brukardt
2019-05-18 11:43   ` Daniel
replies disabled

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