Getting a class' name, but not fully qualified?

Dicebot public at dicebot.lv
Sun Mar 30 09:46:43 PDT 2014


On Sunday, 30 March 2014 at 16:42:54 UTC, Matt wrote:
> On Sunday, 30 March 2014 at 16:33:47 UTC, Dicebot wrote:
>> This is not explicitly mentioned anywhere because "runtime 
>> type information" 
>> (http://dlang.org/phobos/object.html#.Classinfo) is a 
>> wide-spread term with strong meaning.
>
> what about .stringof? I don't think it mentions about the fact 
> that that gets the string at compile time

http://dlang.org/property.html#stringof

Term such as "source representation" has no meaning for run-time, 
at least not for natively compiled languages.


More information about the Digitalmars-d-learn mailing list