comp.lang.ada
 help / color / mirror / Atom feed
From: bbalfour@std.caci.com (Brad Balfour)
Subject: Re: How to overload assignment in Ada 95?
Date: 1996/12/09
Date: 1996-12-09T00:00:00+00:00	[thread overview]
Message-ID: <bbalfour-0912961334030001@stmac0088.std.caci.com> (raw)
In-Reply-To: 58aclh$ssd@gaia.cc.gatech.edu


In article <58aclh$ssd@gaia.cc.gatech.edu>, chrisc@cc.gatech.edu
(Christopher D Carothers) wrote:

>        In 7.6 of the Ada95 LRM, it talks about
>user-defined assignment. Could someone please 
>provide me with an example of how I would in fact
>"overload" the assignment operator for a particular
>package. The LRM talks about the Ada.Finalization
>package and the the "Adjust" procedure. However,
>it does not give an example of how I would use
>this package to achieve the "overloading" of assignment.

I wrote up an example of this for an article in ACM SIGAda's Ada Letters
magazine in Vol. XIV, No. 5, September/October, 1994.
An online copy of this article can be found at:
http://www.acm.org/~bbalfour/tips_no_1.html

I hope this helps,
Brad

-- 
Brad Balfour                            SIGAda WWW Server
CACI, Inc.                                http://www.acm.org/sigada/
(703) 277-6767                          and also try:
bbalfour@std.caci.com                     http://www.adahome.com/
address: 3930 Pender Drive * Fairfax, VA 22030




  parent reply	other threads:[~1996-12-09  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-06  0:00 How to overload assignment in Ada 95? Christopher D Carothers
1996-12-07  0:00 ` Robert Dewar
1996-12-09  0:00 ` Brad Balfour [this message]
1996-12-09  0:00   ` Matthew Heaney
1996-12-10  0:00     ` Robert A Duff
1996-12-10  0:00     ` Brad Balfour
1996-12-10  0:00       ` Larry Kilgallen
1996-12-11  0:00         ` Brad Balfour
1996-12-11  0:00           ` Larry Kilgallen
     [not found]       ` <01bbe6dc$6feb3620$829d6482@joy.ericsson.se>
1996-12-11  0:00         ` Brad Balfour
1996-12-11  0:00         ` Norman H. Cohen
1996-12-10  0:00 ` Jon S Anthony
1996-12-11  0:00   ` Brad Balfour
1996-12-13  0:00     ` Robert A Duff
replies disabled

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