Fully dynamic d by opDotExp overloading

Denis Koroskin 2korden at gmail.com
Sat Apr 18 08:48:16 PDT 2009


On Sat, 18 Apr 2009 19:46:36 +0400, BCS <none at anon.com> wrote:

> Hello Andrei,
>
>> The dynamic behavior is indicated by the use of opDotExp. The
>> redundancy of the two notations doesn't quite sit well.
>>  Andrei
>>
>
> not exactly 1-to-1 but:
>
> abstract class C { void foo(); } // works
>
> class D { void foo(); } // fails: link error
>
>

Bad example:

class D { abstact void foo(); } // works




More information about the Digitalmars-d mailing list