[dmd-internals] ClassInfo for C++ classes in DMD

Jacob Carlborg via dmd-internals dmd-internals at puremagic.com
Thu Jul 7 03:08:40 PDT 2016

Usually a C++ class in D doesn’t have any type info available, i.e. calling “object.classinfo” will return null. But for some reason the C++ classes (declared in D) in DMD will return a non-null value when calling “object.classinfo”, why is that?

/Jacob Carlborg

More information about the dmd-internals mailing list