https://issues.dlang.org/show_bug.cgi?id=24717 --- Comment #11 from Manu <turkeyman at gmail.com> --- Yeah it's fine, just alias a member of the type rather than the instance. You can typeof(instance) of you want to use instance as the point of reference. --