opMul

Koroskin Denis 2korden+dmd at gmail.com
Thu Mar 6 02:29:33 PST 2008


On Thu, 06 Mar 2008 03:04:39 +0300, Bill Baxter  
<dnewsgroup at billbaxter.com> wrote:

> Denton Cockburn wrote:
>> Yep, that did the trick.
>>
>> IIRC, the const in front means const(this)
>>
>
> and apparently const at the end means that too, now.
>
>         Foo opMul(const Foo [b]) const  { // also ok
>                ...
>          }
>
>
> --bb


This syntax looks less confusing to me. Why keep both?



More information about the Digitalmars-d mailing list