Pulling some builtin logic out

bearophile bearophileHUGS at lycos.com
Mon Mar 31 11:15:00 PDT 2008


Kaja:
> Often in languages and compilers, you have to choose between flexibility and speed,

D AA are already plenty slow. So I'd try to find a way to have both speed and flexibility.


> Why couldn't a person use "in" on a user-defined AA?  According to the docs, its overloadable with opIn (but no example on the page so maybe its not supported anymore).<

You can use the opIn_r operator with no problems.

Bye,
bearophile



More information about the Digitalmars-d mailing list