like types

Kagamin spam at here.lot
Sun Aug 7 01:54:06 PDT 2011


Walter Bright Wrote:

> On 8/6/2011 7:24 PM, bearophile wrote:
> > C#4 has "dynamic" type, it allows to perform dynamic typing style code in C#:
> > http://en.wikipedia.org/wiki/C_sharp_4#Dynamic_member_lookup
> 
> D has opDispatch which fills that role nicely.

opDispatch doesn't work with interfaces and you can't call it on an Object.


More information about the Digitalmars-d mailing list