www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Is a type not a symbol?

reply Shriramana Sharma <samjnaa_dont_spam_me gmail.com> writes:
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
parent Adam D. Ruppe <destructionator gmail.com> writes:
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