hasStaticMember and enums

Steven Schveighoffer schveiguy at gmail.com
Tue Sep 22 13:01:39 UTC 2020


On 9/22/20 8:52 AM, Steven Schveighoffer wrote:
> For sure alias members are odd, I don't know how you would distinguish 
> them from other members.

Maybe, check if __traits(identifier, __traits(getMember, T, name)) == name ?

Would that be correct?

-Steve


More information about the Digitalmars-d mailing list