qualified type names for mixins

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 15 13:34:39 PDT 2017


On Thursday, 15 June 2017 at 19:15:55 UTC, Jonathan Marler wrote:
> I've found that the fullyQualifiedName template in std.traits 
> is a good tool for creating mixin code, however, it doesn't 
> always work.

Why is it useful? I suggest you are probably doing it wrong.

https://stackoverflow.com/questions/32615733/struct-composition-with-mixin-and-templates/32621854#32621854

always use local names in string mixins. Don't try to build 
strings with other names, just use the one you already have in 
scope.


More information about the Digitalmars-d mailing list