kenji hara <k.hara...@gmail.com> wrote:
I think that D should support __traits(isModuleName, ModuleName).Do you think?
A way to traverse the hierarchy of identifiers would be nice. There is currently no way to identify an identifier as a template or module. I would say is( T == module ) and is( T == template ) is the way to go, but I'm not entirely sure (they're not types, which is what is() deals in). -- Simen