rtInfo issue

Benjamin Thaut code at benjamin-thaut.de
Sun Dec 9 13:12:36 PST 2012


Ok I tried to manually reference it, it does not help.

struct Quaternion {
	float x,y,z,angle;
}

class ForceReference
{
   Quaternion q;
}

shared static this()
{
   Quaternion q;
   auto t = typeid(Quaternion);
   auto info = RTInfo!Quaternion;
   printf("%x %x\n", info, t.rtInfo);
}

Although info is not null t.rtInfo is null.

Kind Regards
Benjamin Thaut


More information about the Digitalmars-d mailing list