https://issues.dlang.org/show_bug.cgi?id=2482

--- Comment #5 from Steven Schveighoffer <[email protected]> ---
Actually, may be good to elaborate on the points in the AA docs.

I found that defining a toHash function without const makes it skip the
function for xtoHash.

A note saying "Only the above signatures are guaranteed to work with AAs. If
you change the signature in some way, it may not work"

Defining opEquals without const makes it fail to be an AA key.

--

Reply via email to