Mixin function names

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


On Tuesday, 18 July 2017 at 20:57:51 UTC, 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;
> 	}
> }
>
> If not, is something like this being looked at?

Or, just something like this for any variable name.


More information about the Digitalmars-d mailing list