December 12, 2015
Hello. Re my posting just now re AliasSeq being able to contain a template identifier too, I wonder whether it is possible to have a std.traits template to identify whether something is a template or not?

In connection with this, while is() is there to determine whether something is a type or not, what should I use to determine whether something is a value or not?

These would be useful to identify the kind of a member of an AliasSeq...

-- 
Shriramana Sharma, Penguin #395953
December 12, 2015
On Saturday, 12 December 2015 at 14:17:52 UTC, Shriramana Sharma wrote:
> Hello. Re my posting just now re AliasSeq being able to contain a template identifier too, I wonder whether it is possible to have a std.traits template to identify whether something is a template or not?
>
> In connection with this, while is() is there to determine whether something is a type or not, what should I use to determine whether something is a value or not?
>
> These would be useful to identify the kind of a member of an AliasSeq...

It's already there:

http://dlang.org/spec/traits.html#isTemplate