Operators overloading in D2

Steven Schveighoffer schveiguy at yahoo.com
Tue Apr 27 05:47:08 PDT 2010


On Mon, 26 Apr 2010 18:07:22 -0400, Dan <daniele.niero at gmail.com> wrote:

> Thanks guys, it's more clear now.
>
> Just another question:
> are opAdd, opNeg, opAddAssign etc going to be deprecated?
>
> The reason is very very stupid: If I use them the documentation output  
> is much more readable :)

This is an issue brought up during the whole discussion on operator  
overloading.

I think what is going to be required is a change in documentation style.   
So something like:

/**
   Operator overloads for +, -, ~, ...

   ...
*/

-Steve


More information about the Digitalmars-d-learn mailing list