Type.stringof

BCS BCS at pathlink.com
Thu Feb 22 09:14:53 PST 2007


Lionello Lunesu wrote:
> Michiel wrote:
> 
>> Deewiant wrote:
>>
>>>>>>>> The documentation sais that all types should have the property
>>>>>>>> .stringof, but it doesn't seem to work. Has it been renamed? Or 
>>>>>>>> doesn't
>>>>>>>> it exist (anymore)?
>>>>>>>
>>>>>>> In what case does it not work?
>>>>>>
>>>>>> Any case. I tried this:
>>>>>
>>>>> That works just fine here, DMD 1.007
>>>>
>>>> Ah, I have DMD 1.003. Would that make the difference?
>>>>
>>> Seeing as .stringof was added in DMD 1.005, it might. ;-)
>>
>>
>> Strange. It wasn't even so long ago that I downloaded the compiler. Has
>> stringof only existed for a month or so?
> 
> 
> 17 days to be exact :)

The bleeding edge doesn't last vary long around here. <g>



More information about the Digitalmars-d mailing list