From: Matthew Heaney <matthew_heaney@acm.org>
Subject: Re: Help - Constructors - ASAP.
Date: 1998/08/04
Date: 1998-08-04T00:00:00+00:00 [thread overview]
Message-ID: <m3lnp5k3nk.fsf@mheaney.ni.net> (raw)
In-Reply-To: 35C5FCD9.2EE39FE4@elca-matrix.ch
Mats Weber <Mats.Weber@elca-matrix.ch> writes:
>>> Another problem, which I think is even worse, is when some
>>> operations of a type are generics (e.g. iterators), then these will
>>> not be derived and you will have to get them from the package that
>>> declares them.
>>
>> You can rename generic operations.
>
> But then, they keep the old parameter profile, the one with the type you are
> deriving from, not the derived type. Bad.
Ah, but then another rule of thumb applies. Since the generic operation
isn't primitive anyway, you just make the tagged parameters class-wide.
Then it will work for your derived types too.
next prev parent reply other threads:[~1998-08-04 0:00 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-23 0:00 Help - Constructors - ASAP Maxim Senin
1998-07-26 0:00 ` Matthew Heaney
1998-07-27 0:00 ` dennison
1998-07-30 0:00 ` Robert I. Eachus
1998-07-30 0:00 ` tedennison
1998-07-31 0:00 ` Matthew Heaney
1998-07-31 0:00 ` Mats Weber
1998-07-31 0:00 ` dennison
1998-08-01 0:00 ` Robert Dewar
1998-08-01 0:00 ` Matthew Heaney
1998-08-01 0:00 ` Matthew Heaney
1998-08-03 0:00 ` Mats Weber
1998-07-31 0:00 ` Robert I. Eachus
1998-08-01 0:00 ` Matthew Heaney
1998-08-01 0:00 ` Robert Dewar
1998-08-01 0:00 ` Matthew Heaney
1998-08-03 0:00 ` Mats Weber
1998-08-03 0:00 ` Matthew Heaney
1998-08-03 0:00 ` Mats Weber
1998-08-04 0:00 ` Matthew Heaney [this message]
1998-08-04 0:00 ` Mats Weber
1998-08-05 0:00 ` Matthew Heaney
1998-08-10 0:00 ` Robert I. Eachus
1998-08-03 0:00 ` tedennison
-- strict thread matches above, loose matches on Subject: below --
1998-07-15 0:00 Maxim Senin
1998-07-16 0:00 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox