DMD 1.005 release
Walter Bright
newshound at digitalmars.com
Sun Feb 11 19:54:07 PST 2007
Bruno Medeiros wrote:
> Walter Bright wrote:
>> 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.
>
> What do you mean? If it's doesn't work right yet, why was it released
> already? (basic cases seem to be working)
It doesn't hurt anything to be there.
More information about the Digitalmars-d-announce
mailing list