is(x = module) vs. __traits(isModule, x)
Steven Schveighoffer
schveiguy at gmail.com
Fri Oct 9 01:58:27 UTC 2020
On 10/8/20 8:23 PM, Steven Schveighoffer wrote:
> as you can *pass in* an alias to a runtime member, you just can't
> *return* an alias to a runtime member
Ugh, actually, you can only pass in an alias to a variable. Why you
can't pass in an alias to a member doesn't make a lot of sense to me.
But still, the compiler should be able to handle this.
-Steve
More information about the Digitalmars-d
mailing list