[Issue 15371] __traits(getMember) should bypass the protection

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 12 04:33:58 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15371

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #6 from Martin Nowak <code at dawg.eu> ---
(In reply to b2.temp from comment #3)
> Also if a template would be instantiated in the module that use it...

Well, there are plenty of reasons to not do that, foremost being that template
instantiations should be independent of instantiation scope.
That's why we have mixin template as an alternative.

--


More information about the Digitalmars-d-bugs mailing list