Alias for a template

Robin Allen r.a3 at ntlworld.com
Wed Jan 24 15:26:34 PST 2007


What are the rules for when you can alias a template and when you can't? For example, why doesn't this compile?

import std.signals;

alias Signal!(int) x;

void main() {}


More information about the Digitalmars-d-learn mailing list