How to get to a class initializer through introspection?

Andrei Alexandrescu SeeWebsiteForEmail at
Sun Aug 2 22:25:19 UTC 2020

I'm working on redoing typeid for classes without compiler magic, and 
stumbled upon the class initializer - the bytes blitted over the class 
before the constructor is called.

Any ideas on how to do that via introspection? The fields are 
accessible, but not their default values.

It seems like __traits(type, getInitializer) might be necessary.

More information about the Digitalmars-d mailing list