[Issue 14964] __traits(isAlias, foo)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jan 23 03:12:21 PST 2017


https://issues.dlang.org/show_bug.cgi?id=14964

--- Comment #4 from Mike Parker <aldacron at gmail.com> ---
(In reply to Mike Parker from comment #3)
> Not at all. allMembers returns FuncPtr and funcPtr as distinct symbols. What
> I'm looking for is a generic way to know that one is an alias declaration
> and the other is not.

And to be clear, I'm talking about at compile time. I realize it's not possible
at runtime, but surely the compiler knows the difference.

--


More information about the Digitalmars-d-bugs mailing list