[Issue 2642] ClassInfo.init contains zeroes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 9 02:55:34 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2642





--- Comment #10 from Sobirari Muhomori <maxmo at pochta.ru>  2009-07-09 02:55:33 PDT ---
> > With or without explicit initialization requirements, you could put that
> > initialization in the constructors.
> .init can't be moved to constructor, because you won't be able to set vptr
> correctly.
Though setting of main vptr can be done in user code and other fields
initialization can be moved to constructor (including interface fixups). Though
this hardly makes difference in the case of inlining.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list