[Issue 16178] Can't alias a mixin
https://issues.dlang.org/show_bug.cgi?id=16178 --- Comment #2 from hba...@hotmail.com --- After more experience with Phobos, I realized this is apparently not an issue and is intended to be done with the Alias template from the std.meta module. Rejecting my own issue I guess. The working solution: import std.meta : Alias; alias foo = Alias!(mixin(bar!T)); --
[Issue 16178] Can't alias a mixin
https://issues.dlang.org/show_bug.cgi?id=16178 Danila Letunovskiychanged: What|Removed |Added CC||kap...@mail.ru --- Comment #1 from Danila Letunovskiy --- вот так ещё можно mixin("alias foo = " ~ bar!T ~ ";"); --