__traits(allMembers and typeinfo
John Colvin via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jul 3 02:57:26 PDT 2015
__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?
More information about the Digitalmars-d
mailing list