On Wednesday, 24 October 2012 at 20:07:49 UTC, H. S. Teoh wrote:
On Wed, Oct 24, 2012 at 09:50:18PM +0200, Mehrdad wrote:
On Wednesday, 24 October 2012 at 19:41:42 UTC, Mehrdad wrote:
>So you can't really write a real program in D, to put it >bluntly.


Case in point: there's no way to tell an arbitrary object/struct to
give you its hash code.

Huh?  All objects implement toHash().


Not Tuples, apparently. (I didn't mean Object, I mean "object" in
the general sense.)


You can just use rt.util.hash.hashOf for structs.

Will try, thanks for the pointer.

Reply via email to