> it would be real nice if I there was a compile time construct for this. 
> like "me" or something that would return type info inside the current scope.

class A(T) { this() { writeln(me.typeinfo.name); }

would print "A(T)".

(of course me is probably a bad name but just an example :)


You could use `typeof(this)`. It returns the static type of `this`.