Templated interface

Robert Fraser fraserofthenight at gmail.com
Tue Oct 14 14:51:56 PDT 2008


DF wrote:
> Is it possible to create templated interfaces in D? And if possible than can anyone provide some good example on templated interface.

Example:
IList(T)

A list of elements of type T. Implementations could be LinkedList(T) and 
ArrayList(T).



More information about the Digitalmars-d mailing list