hashed array?

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Nov 12 08:22:21 PST 2012


On Mon, Nov 12, 2012 at 04:38:59PM +0100, monarch_dodra wrote:
> On Monday, 12 November 2012 at 15:22:00 UTC, bearophile wrote:
> >The situation is not fully symmetrical: associative arrays fully
> >defined in Phobos have bad literals.
> >
> >Bye,
> >bearophile
> 
> Related: what is the hook for implementing "in"?

auto opBinaryRight(string op)(KeyType k) if (op=="in") { ... }


T

-- 
The early bird gets the worm. Moral: ewww...


More information about the Digitalmars-d mailing list