C# Indexers. how to implement them in D.. also property related.

BLS windevguy at hotmail.de
Tue Jun 29 06:35:17 PDT 2010


On 29/06/2010 15:27, Steven Schveighoffer wrote:
> string opIndex(string columnName);

yeah this is what I did, too..
However defined as ;

interface I1 {
   string opIndex(string columnName);
}

is a no go. So can we say operator overloading within interfaces is not 
allowed in D2 ?

thanks again Steve.. try to learn the interface/property stuff.


More information about the Digitalmars-d-learn mailing list