https://d.puremagic.com/issues/show_bug.cgi?id=12287
--- Comment #4 from Kenji Hara <k.hara...@gmail.com> 2014-03-02 18:19:10 PST --- (In reply to comment #2) > I think this only applies to eponymous templates. The parent of the member is > the struct declaration, the parent of which is the template instance. But when > referring to the template instance of an eponymous template, it is "converted" > to the symbol it wraps (the struct declaration), so it never exits the cycle. No, this is a Phobos bug. I think it's not good to add a special case in __traits(parent) for eponymous templates. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------