From: Wes Groleau <wesgroleau@despammed.com>
Subject: Re: When/Why can a compiler reject an operator but accept a name?
Date: Mon, 08 Jul 2002 10:27:10 -0500
Date: 2002-07-08T10:27:10-05:00 [thread overview]
Message-ID: <3D29AF4E.16AFB384@despammed.com> (raw)
In-Reply-To: e1a50f2.0207080417.17b77cdd@posting.google.com
> So what I think is happening is that you're instanciating G with a
> type that has an intrinsic "<" operator. For example, if you use
> Integer, in your P procedure you must write a customized "<" operator
> like:
I hadn't thought of that--good point.
However, the generic never uses ">"
nor has it as a parameter. And the
type "Item" is an access type. So
I don't think that's it in this case.
I reported it as a bug to the vendor,
but I'm still not 100% certain.
--
Wes Groleau
http://freepages.rootsweb.com/~wgroleau
prev parent reply other threads:[~2002-07-08 15:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-05 17:08 When/Why can a compiler reject an operator but accept a name? Wes Groleau
2002-07-06 23:26 ` Robert A Duff
2002-07-08 15:22 ` Wes Groleau
2002-07-08 12:17 ` Antonio Duran
2002-07-08 15:27 ` Wes Groleau [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