Re:Hidden treasure in the D standard library
by repsilat on Friday August 29, 2014 @04:19AM
(#8241596)
In theory you could use a tree for unhashable things with a total order, and you could use a list for just about anything else (though you might want to emit a warning...).
I assume D has enough magic to pattern match on the traits of the types in the argument list?
I assume D has enough magic to pattern match on the traits of the types in the argument list?