Good morning, Is it possible something like this?
``` int foo() { __traits(some_trait, some_generic_this) theInt = 0; ```I mean, without using the function name in the body, like ReturnType!foo ?
learner via Digitalmars-d-learn Tue, 05 May 2020 09:41:24 -0700
Good morning, Is it possible something like this?
``` int foo() { __traits(some_trait, some_generic_this) theInt = 0; ```I mean, without using the function name in the body, like ReturnType!foo ?