How to get return type of current method?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 18 16:49:35 PDT 2017


Mike B Johnson wrote:

> How can I get the return type of the current method without specifying 
> the name or any complexity? Similar to typeof(this).

typeof(return)


More information about the Digitalmars-d-learn mailing list