Wait, what? What is AliasSeq?
Timon Gehr via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 9 06:07:06 PDT 2015
On 07/08/2015 08:01 PM, Steven Schveighoffer wrote:
>
> Yes, Walter at dconf also (I think) agreed this at least needs to be fixed:
>
> alias Int = int;
>
> template T(alias X) { enum a = 1;}
>
> int x = T!Int.a; // error
There should be no difference between Int and int after the alias
declaration. The "symbol" vs. "non-symbol" distinction is arbitrary and
does not buy anything.
More information about the Digitalmars-d
mailing list