Operators overloading

matovitch camille.brugel at laposte.net
Sun May 19 04:05:00 PDT 2013


On Sunday, 19 May 2013 at 10:41:53 UTC, Idan Arye wrote:
>
> I think a better syntax would be:
>
>     const Vertex opBinary(string op : "+", "-")(const ref 
> Vertex vertex)

I tried this first... Yes, it's a better syntax.


More information about the Digitalmars-d mailing list