comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Overloading and / or / = / etc etc
Date: Thu, 14 Jun 2001 05:51:28 -0500
Date: 2001-06-14T05:51:28-05:00	[thread overview]
Message-ID: <3b289523_3@Newsfeeds.com> (raw)
In-Reply-To: 9ga3ed$oeb$1@dns3.cae.ca

What you need to do is use regulate function notation instead of
infix operator notation -- e.g.

Packagex."=" (expression_1, expression_2)

(copy mailed to Phil Foran)

"Phil Foran" <pforan@cae.com> wrote in message
news:9ga3ed$oeb$1@dns3.cae.ca...
> Hrm, it seems that someone called Mark responded to my post, but for some
> reason i only see Jacob's response.... if anyone actually posted how to do
> it.. could they mail me the answer instead :)
>
> Thanx!
> Jacob Sparre Andersen <sparre@nbi.dk> wrote in message
> news:3B2884C0.175B4DC9@nbi.dk...
> > Mark:
> >
> > > I'd second that, Phil.  The fact that you think "or" can be overloaded
> (it
> > > can't, really)
> >
> > According to 4.5(2-7), 6.1(9-10) and 6.6(1), the operator "or" _can_ be
> > overloaded. The only operator for which special rules apply is "/=".
> >
> > Jacob
> > --
> > "Any, sufficiently complicated, experiment is indistinguishable from
> magic."
>
>



-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



      reply	other threads:[~2001-06-14 10:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-13 20:14 Overloading and / or / = / etc etc Phil Foran
2001-06-13 20:45 ` Carbonne Damien
2001-06-13 20:50 ` Ted Dennison
2001-06-13 21:31   ` Mark Lundquist
2001-06-14  9:32     ` Jacob Sparre Andersen
2001-06-14 10:25       ` Phil Foran
2001-06-14 10:51         ` David C. Hoos, Sr. [this message]
replies disabled

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