Compiler bug? Mixin behavior order dependent

Norbert Nemec Norbert at Nemec-online.de
Sun Oct 16 09:53:55 PDT 2011


On 16.10.2011 18:49, Trass3r wrote:
> Well it's probably a bug if type is recognized but not rank.
> But in general it's really bad code style to use external stuff in a mixin.

True, but it is also quite powerful if used with care. After all the 
whole point of "mixin template" is to be able to access the surrounding 
namespace.


More information about the Digitalmars-d mailing list