learning reflection in D

drug drug2004 at bk.ru
Thu Oct 5 14:59:10 UTC 2017


https://run.dlang.io/is/8LbmzG

1) why .stringof and typeid() is equal logically and different in fact? 
What is difference between them? Is it that stringof compile time and 
typeid runtime things? Anyway wouldn't it be better they will equal both 
logically and literally?
2) Where do these attributes come from? I mean `pure nothrow @nogc 
@safe` except `@property` that I set explicitly?


More information about the Digitalmars-d-learn mailing list