Is there a new, approved way of doing this?
is __traits(allMembers) usable in a non-deprecated way?
E.S. Quinn via Digitalmars-d Wed, 06 Apr 2016 22:46:35 -0700
__traits(allMembers, <symbol>) has always been pretty much
essential to any non-trivial struct, class, or module-based
introspection, but given the visibility rules changes in 2.071.0,
it looks like it's not even allowed to check whether a given
symbol is public. (i.e. with __traits(getProtection, Type,
member))
- is __traits(allMembers) usable in a non-depr... E.S. Quinn via Digitalmars-d
- Re: is __traits(allMembers) usable in a... Atila Neves via Digitalmars-d