UCFS does not work for nested functions?

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 18 01:23:44 PDT 2014


Steffen Wenz:

> Just noticed that using UFCS does not work for nested functions,

Right.


> and was wondering whether that's intended, and what the 
> rationale behind it is:

Currently it's intended. Because doing otherwise causes other 
problems with struct/class member functions. Perhaps there are 
ways to design around this problem, but so far no one has 
suggested a good way to design it (and the good Kenji has worked 
on this problem, so probably there are no simple solutions).

Once you understand this problem space well, if you find a good 
design solution you can submit it to Bugzilla.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list