On Wednesday, 24 October 2012 at 20:04:24 UTC, Jacob Carlborg
wrote:
On 2012-10-24 21:37, Mehrdad wrote:
I don't know what to expect code like this to do (unlike in
C++, where everything is clearly defined in the specs), and
when it seems to do what I want, it really turns out to be a
bug in the library that it seemed to work in the first place.
:(
Everything in C++ is specified as undefined behavior :)
lol.
I meant more like, it's clear in C++ which operations need to be
implemented in order for an object to be hashable, for instance.
I can't figure out how hashing works in D at all.