From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Re-exporting primitive operations of a private type (like "-", and 'min)
Date: 30 Oct 2005 17:35:16 -0500
Date: 2005-10-30T17:35:16-05:00 [thread overview]
Message-ID: <wccacgq3a6z.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: op.szgpxcuvz25lew@super
"Martin Krischik" <krischik@users.sourceforge.net> writes:
> Am 30.10.2005, 11:18 Uhr, schrieb Jeffrey R. Carter <spam@spam.com>:
>
> > That's why you have to convert to a suitable numeric type, invoke the
> > equivalent operation for that type, and then convert back to the
> > private type.
>
> Would 'Base not be a suitable type?
No, T'Base returns a subtype, but it's same _type_ as T.
So whatever operations you do will be those of T.
- Bob
next prev parent reply other threads:[~2005-10-30 22:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-29 21:19 Re-exporting primitive operations of a private type (like "-", and 'min) Anonymous Coward
2005-10-30 8:57 ` Dmitry A. Kazakov
2005-10-30 9:18 ` Jeffrey R. Carter
2005-10-30 14:16 ` Martin Krischik
2005-10-30 22:35 ` Robert A Duff [this message]
2005-10-31 4:15 ` Anonymous Coward
2005-10-31 4:34 ` Anonymous Coward
2005-10-31 6:14 ` Jeffrey R. Carter
2005-11-01 3:39 ` Anonymous Coward
2005-11-01 4:47 ` Jeffrey R. Carter
2005-11-01 23:43 ` Anonymous Coward
2005-11-02 3:35 ` Jeffrey R. Carter
2005-11-01 14:11 ` Robert A Duff
2005-10-31 8:27 ` Niklas Holsti
2005-10-31 9:18 ` Dmitry A. Kazakov
2005-11-02 9:50 ` Jean-Pierre Rosen
2005-11-03 9:15 ` Niklas Holsti
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox