UFCS for classes with opCall( ... )
Timon Gehr
timon.gehr at gmx.ch
Mon Jun 3 13:10:44 PDT 2013
On 06/03/2013 06:25 PM, ParticlePeter wrote:
>
>> UFCS is working with opCall already.
>>
>> The reason your code does not work is that UFCS only works with
>> module-level symbols (and with the latest release also for locally
>> imported symbols IIRC.)
>
> What do you mean with locally import symbols, isn't that the normal
> import statement ? Could you show me a working example ?
>
> Thx.
http://dpaste.dzfl.pl/79c29c19
(What you want to do does not work, but the issue is not that UFCS does
not work with opCall. It does.)
More information about the Digitalmars-d-learn
mailing list