comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: OOP in Ada: Alternatives for "protected" scope
Date: Fri, 04 May 2012 12:43:33 +0200
Date: 2012-05-04T12:43:30+02:00	[thread overview]
Message-ID: <4fa3b2d2$0$6547$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <4fa3b14b$0$6555$9b4e6d93@newsspool4.arcor-online.net>

That was too quick; but moving "private" before Link in the
example gets around the "protected" operations of abstract
types needing to be public:

private
      --
      -- Add your type of computation here to be performed
      -- at some time during the execution of Do_Something:
      --
      procedure Link
          (Object : in out A;
           Computation: Calculators.Calculator'Class);




  reply	other threads:[~2012-05-04 10:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-03 21:27 OOP in Ada: Alternatives for "protected" scope Felix Krause
2012-05-03 21:56 ` Dmitry A. Kazakov
2012-05-04 18:48   ` Felix Krause
2012-05-04 22:00     ` Dmitry A. Kazakov
2012-05-05  8:28       ` Felix Krause
2012-05-05 11:53         ` Dmitry A. Kazakov
2012-05-05  4:33     ` Shark8
2012-05-03 23:34 ` Randy Brukardt
2012-05-04  1:41 ` BrianG
2012-05-04 10:37 ` Georg Bauhaus
2012-05-04 10:43   ` Georg Bauhaus [this message]
2012-05-04 12:10   ` Dmitry A. Kazakov
replies disabled

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