BLS <windev...@hotmail.de> wrote:

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.

Hm. That should have worked.

So can we say operator overloading within interfaces is not allowed in D2 ?

The new operator overloading scheme has problems with
interfaces. A damned shame if you ask me.

That said, opIndex does not use templates, and should thus
work no problem.


--
Simen

Reply via email to