opMul

Simen Kjaeraas simen.kjaras at gmail.com
Tue Mar 4 02:45:19 PST 2008


On Tue, 04 Mar 2008 00:31:38 +0100, Bill Baxter  
<dnewsgroup at billbaxter.com> wrote:

> Walter Bright wrote:
>> Looks like a compiler bug. The trailing const should work.
>
> No, not a bug.  That seems to work fine.
> What doesn't work is doing it *without* const either in front or at the  
> end.  And that's correct behavior.
>
> --bb


Bill, take a look at my code. The opMul with trailing const clearly  
changes this.bar, thus it's a bug.



More information about the Digitalmars-d mailing list