Differing implementations for a function in two interfaces
Ryan Steen
Ryan_member at pathlink.com
Mon Apr 17 16:51:07 PDT 2006
In article <e212nr$o5p$1 at digitaldaemon.com>, BCS says...
>interface DatabaseItemInterface
>interface PerchaseRequest
>// now, implement a finance database
I do not understand this exercise. There are two closed source libs for which I
have to provide the implementation?
If there are no more constraints, then it is possible to write classes which
implement the two interfacec by wrapping the appropriate functions from the main
application, the finance database.
But I already said it elsewhere, D would be better off with some features for
renaming or aliasing interface content as well as interfaces themselves.
More information about the Digitalmars-d-learn
mailing list