How about a Hash template?

Alexander aldem+dmars at nk7.net
Thu Apr 28 17:06:22 PDT 2011


On 28.04.2011 21:46, Timon Gehr wrote:

> Why is 'in' not currently defined on arrays? To me it seems like a left-out that
> should be fixed, because it has quite obvious and useful semantics.

  +1. It would be very useful and convenient this way, especially if search will be optimized to series of comparisons for small item count.

  Perhaps we should file a feature request? :)

/Alexander


More information about the Digitalmars-d mailing list