Pulling some builtin logic out

Koroskin Denis 2korden+dmd at gmail.com
Mon Mar 31 11:33:44 PDT 2008


On Mon, 31 Mar 2008 22:15:00 +0400, bearophile <bearophileHUGS at lycos.com>  
wrote:

> 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


My bad, didn't know it's already supported. :)



More information about the Digitalmars-d mailing list