On 18.07.2017 22:57, Moinak Bhattacharrya wrote:
Is it possible to mixin function names? IE something like this:

template strFunc(string s){
     int mixin(s)(int a){
         return a+1;
     }
}
...

No.

If not, is something like this being looked at?

The suggestion has been made, but there was no extensive discussion so far.
https://github.com/dlang/DIPs/blob/master/DIPs/DIP1010.md#mixin-identifiers

Reply via email to