Operator overloading question

Timon Gehr timon.gehr at gmx.ch
Tue Jan 22 02:46:57 PST 2013


On 01/21/2013 07:53 PM, Ali Çehreli wrote:
> ...
>
> void foo(string s == "hello")() // ERROR; I don't think possible
> {
>      // ...
> }

void foo(string s : "hello")(){
     // ...
}


More information about the Digitalmars-d-learn mailing list