Why D is annoying =P

Mehrdad wfunction at hotmail.com
Wed Oct 24 13:18:06 PDT 2012


On Wednesday, 24 October 2012 at 20:15:07 UTC, H. S. Teoh wrote:
> hashOf works for pretty much anything (it's just a byte-based 
> algo).


Byte-based?

what about


	Set!(Tuple!(int, string)) s;
	s[tuple(1, "hi")] = 1;
	writeln(tuple(1, "hi".dup) in s);  // null or not?


More information about the Digitalmars-d mailing list