[Prev][Next][Index][Thread]
Re: generic-arithmetic library
The sealed-ness is defined in the DRM.
An implementation (GD) would need to open <integer>, derive <integer> and <extensible-integer> from a common base class, or in some other way allow you to extend <integer> or <integer>'s base class (with <integer> as a do-nothing selaed subclass) in order for you to do this.
This is obviously implementation-dependent, although it would be interesting to know how Fun-Dev handles it.
- Rob.
On Sunday, October 15, 2000, at 05:45 AM, Chris Double wrote:
> // Error is:
> The superclass <integer> of <my-integer> is defined in another library, and
> sealed.