comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: accessing subprogram & inheritance problem
Date: Tue, 06 Feb 2001 04:43:09 GMT
Date: 2001-02-06T04:43:09+00:00	[thread overview]
Message-ID: <xhLf6.58717$R5.3026117@news1.frmt1.sfba.home.com> (raw)
In-Reply-To: qrGf6.525$f5.98165@news

>I would like to have a subprogram pointer in the root class which
>can be used to point to the subprograms in the child class as well.
  As a general rule, if Ada makes it hard to do something one way,
it's a good bet there are problems that way, and there is a better
approach.
  In this case, why not just use dispatching, or even just overloading,
to call the right ..._Action routine, rather than futz about with
a pointer?



  reply	other threads:[~2001-02-06  4:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-05 23:12 accessing subprogram & inheritance problem VC
2001-02-06  4:43 ` tmoran [this message]
2001-02-06  7:59   ` Sven Nilsson
2001-02-08  1:53 ` Robert Brantley
2001-02-08  4:36   ` tmoran
2001-02-08 18:48     ` Robert Brantley
replies disabled

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