Bruno Medeiros wrote:
> Well, actually you can do that, with the unannounced (in the changelog)
> .stringof property ( http://www.digitalmars.com/d/property.html ) :
>
> ----
>
> template MakeVariable(Type, char[] name)
> {
> const char[] MakeVariable = Type.stringof ~ " " ~ name ~ ";";
> }
It's unannounced because it doesn't work right yet.