------- Comment #5 from bonzini at gnu dot org  2009-02-16 09:23 -------
Just came here by chance :-)

You can check "if (this.class == ...)" in the constructor.  It will slow down
constructors for subclasses though.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22377

Reply via email to