comp.lang.ada
 help / color / mirror / Atom feed
From: dgibson@snoopy.cis.ohio-state.edu (david scott gibson)
Subject: Re: Q: on redefinition of "=
Date: 1996/04/02
Date: 1996-04-02T00:00:00+00:00	[thread overview]
Message-ID: <4js2rkINNboj@snoopy.cis.ohio-state.edu> (raw)
In-Reply-To: Dp92G6.KI5@world.std.com

In article <Dp92G6.KI5@world.std.com>,
Robert A Duff <bobduff@world.std.com> wrote:
>So why use a controlled type?  Perhaps because *some* of your types need
>Initialize or Finalize, and you want to inherit from a single root type
>which has Swap.  Well, I wonder if you could have a non-controlled root
>type with Swap, and extend it with controlled components in the cases
>where you need that functionality?

That's an interesting idea.  I may need to fake multiple inheritance for
this since my representation types are already derived from an abstract
type (which may have non-controlled implementations).  It's not clear to
me how everything will work out with non-controlled components layered on
top of controlled components, but it might work.  Thanks very much for
the suggestion!

--
Dave
dgibson@cis.ohio-state.edu






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

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-30  0:00 Q: on redefinition of "= david scott gibson
1996-04-01  0:00 ` Robert A Duff
1996-04-01  0:00   ` david scott gibson
1996-04-01  0:00     ` Robert A Duff
1996-04-01  0:00 ` Tucker Taft
1996-04-01  0:00   ` david scott gibson
1996-04-01  0:00     ` Robert Dewar
1996-04-02  0:00       ` Mike Young
1996-04-02  0:00         ` Robert Dewar
1996-04-02  0:00           ` david scott gibson
1996-04-02  0:00             ` Robert Dewar
1996-04-02  0:00             ` Robert A Duff
1996-04-02  0:00               ` david scott gibson
1996-04-02  0:00                 ` Robert A Duff
1996-04-02  0:00                   ` david scott gibson [this message]
1996-04-03  0:00             ` Tucker Taft
replies disabled

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