comp.lang.ada
 help / color / mirror / Atom feed
From: "Grein, Christoph" <christoph.grein@eurocopter.com>
Subject: Re: Invoking abstract subprograms in Ada95
Date: Mon, 22 Apr 2002 06:28:01 +0200 (MET DST)
Date: 2002-04-22T06:28:01+02:00	[thread overview]
Message-ID: <mailman.1019449992.18314.comp.lang.ada@ada.eu.org> (raw)

The following compiles fine (with Rational Apex):


package Abstract_Class_Wide is

    type T is abstract tagged null record;

    procedure P (X : T) is abstract;

    procedure C (X : T'Class);

end Abstract_Class_Wide;



package body Abstract_Class_Wide is

    procedure C (X : T'Class) is
    begin
	P (X);
    end C;

end Abstract_Class_Wide;



             reply	other threads:[~2002-04-22  4:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-22  4:28 Grein, Christoph [this message]
2002-04-22 13:24 ` Invoking abstract subprograms in Ada95 Mike
2002-04-22 14:24   ` Dmitry A. Kazakov
  -- strict thread matches above, loose matches on Subject: below --
2002-04-24  7:32 Grein, Christoph
2002-04-22 13:44 Grein, Christoph
2002-04-23  8:36 ` Mike
2002-04-19 13:15 Mike
2002-04-19 16:18 ` Stephen Leake
replies disabled

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