hashOf: unable to compute hash of struct instance with toHash method, if this method cannot be called with this instance:
e.g. non-const toHash with const struct object
Merge pull request #675 from IgorStepanov/hashofstructconst

hashOf: unable to compute hash of struct instance with toHash method, if...