Why can't I assign a mixin to an alias?
Dechcaudron via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jun 12 04:19:08 PDT 2016
On Saturday, 11 June 2016 at 01:53:10 UTC, David Nadlinger wrote:
> This might be a gratuitous grammar restriction. There are a few
> of those surrounding alias "targets". A template that simply
> returns its parameter might work, though, such as
> std.meta.Alias (alias foo = Alias!(mixin(…));).
It seems to be that it would be a good idea to file this in as a
suggested change/fix. Do I have support?
More information about the Digitalmars-d-learn
mailing list