Mixin function names

Moinak Bhattacharrya via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 18 13:57:51 PDT 2017


Is it possible to mixin function names? IE something like this:

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

If not, is something like this being looked at?


More information about the Digitalmars-d mailing list