comp.lang.ada
 help / color / mirror / Atom feed
From: je@unix.brighton.ac.uk (John English)
Subject: Re: Initialization Params for Controlled Types
Date: Mon, 7 Nov 1994 10:32:59 GMT
Date: 1994-11-07T10:32:59+00:00	[thread overview]
Message-ID: <1994Nov7.103259.14008@unix.brighton.ac.uk> (raw)
In-Reply-To: 39g6nl$86v@lang8.cs.nyu.edu

Cyrille Comar (comar@cs.nyu.edu) wrote:

:   procedure Open (Account : in out BankAccount'Class;
:                   Name    : in String);

: It will not be inherited! I do not say that it is the perfect solution for your
: problem, my point is that it is exactly equivalent to defining Open as a
: non-virtual member function in C++.

But surely Open can still be applied to a CurrentAccount (which is in
BankAccount'Class) so this doesn't actually help much.

-- 
-------------------------------------------------------------------------------
John English                    | Thoughts for the day:
Dept. of Computing              | - People who live in windowed environments
University of Brighton          |   shouldn't cast pointers
E-mail: je@brighton.ac.uk       | - In C++ only your friends can access your
Fax:    0273 642405             |   private parts
-------------------------------------------------------------------------------



  reply	other threads:[~1994-11-07 10:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-27  9:44 Initialization Params for Controlled Types Angel Alvarez
1994-10-27 14:27 ` Tucker Taft
1994-11-04 13:44   ` John English
1994-11-04 22:16     ` Norman H. Cohen
1994-11-05 15:01       ` Cyrille Comar
1994-11-07 10:32         ` John English [this message]
1994-11-07  9:08       ` John English
1994-11-10 15:23       ` John English
1994-11-11 10:44         ` Robb Nebbe
1994-11-14 21:19         ` Norman H. Cohen
1994-11-14 18:35           ` Robert I. Eachus
1994-11-16 21:45           ` Matt Kennel
1994-10-27 23:06 ` Robert Dewar
replies disabled

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