Why D const is annoying

Timon Gehr timon.gehr at gmx.ch
Sat Dec 10 13:14:55 PST 2011


On 12/10/2011 10:04 PM, Mehrdad wrote:
> On 12/10/2011 1:00 PM, Timon Gehr wrote:
>> Yah, the issue is that *BOTH* your inouts are on a parameter. Just
>> change them to const, without copying any code and call it a day...
>
> I don't see what's wrong with that, but yes, that's what I did. And that
> caused the next bug that I posted. :P

No, that is not what you did. You did copy the code.


More information about the Digitalmars-d mailing list