digitalmars.D.learn - Is a type not a symbol?
- Shriramana Sharma (6/6) Dec 22 2015 http://dlang.org/spec/template.html#TemplateTupleParameter
- Adam D. Ruppe (4/5) Dec 22 2015 Keywords aren't symbols so `int` is a type, but not a symbol and
http://dlang.org/spec/template.html#TemplateTupleParameter says that an AliasSeq (wording needs to be updated) "is a sequence of any mix of types, expressions or symbols." Is a type not a symbol? I mean, alias can refer to both, no? --
Dec 22 2015
On Tuesday, 22 December 2015 at 15:22:49 UTC, Shriramana Sharma wrote:Is a type not a symbol? I mean, alias can refer to both, no?Keywords aren't symbols so `int` is a type, but not a symbol and thus qualifies as `T` but not as `alias T`.
Dec 22 2015