[Issue 16178] Can't alias a mixin

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 27 12:34:36 PDT 2016


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

--- Comment #2 from hbaelx at 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));

--


More information about the Digitalmars-d-bugs mailing list