digitalmars.D - __traits(allMembers and typeinfo
- John Colvin (7/7) Jul 03 2015 __traits(allMembers, someModule) seems to inconsistently include
__traits(allMembers, someModule) seems to inconsistently include _D12Typeinfo*****__InitZ . 2 instances of __traits(allMembers, ...) can end up giving different results, even when both are done from a different module, both in the same function. Also, adding code *after* __traits(allMembers, ...) can cause the TypeInfo Init to appear, again even if this is all in a different module. Is this supposed to happen?
Jul 03 2015