<div><br></div>> it would be real nice if I there was a compile time construct for this. <div>> like "me" or something that would return type info inside the current scope.<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
class A(T) { this() { writeln(<a href="http://me.typeinfo.name" target="_blank">me.typeinfo.name</a>); }<br>
<br>
would print "A(T)".<br>
<br>
(of course me is probably a bad name but just an example :)<br></blockquote><div><br></div><div><br></div><div>You could use `typeof(this)`. It returns the static type of `this`.</div><div><br></div></div></div>