Why I can't call toHash in const context?

Borislav Kosharov bosak at gmail.com
Tue Aug 6 11:36:19 PDT 2013


On Tuesday, 6 August 2013 at 18:18:43 UTC, Peter Alexander wrote:
> On Tuesday, 6 August 2013 at 18:14:29 UTC, Borislav Kosharov 
> wrote:
>> Am I missing something?
>
> It's a long story :-)
>
> Issue 1824 - Object not const correct
> http://d.puremagic.com/issues/show_bug.cgi?id=1824
>
> Issue 9771 - Remove toHash from Object
> http://d.puremagic.com/issues/show_bug.cgi?id=9771
>
> http://forum.dlang.org/thread/jtlj1k$1fdj$1@digitalmars.com#post-jtlj1k:241fdj:241:40digitalmars.com

I don't have much time to read all that, but from what I have 
skimmed I should remove the const attribute and it should work. 
And it is considered removing toHash from object?

Thanks for the info. I will read the links later.


More information about the Digitalmars-d mailing list