digitalmars.D.bugs - [Issue 3460] New: Allow calllng of class c'tors through methods other than new
- d-bugmail puremagic.com (22/22) Oct 31 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3460
- d-bugmail puremagic.com (12/12) Oct 31 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3460
http://d.puremagic.com/issues/show_bug.cgi?id=3460 Summary: Allow calllng of class c'tors through methods other than new Product: D Version: 2.035 Platform: Other OS/Version: Windows Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: dsimcha yahoo.com There used to be a way (described here) to allocate class instances using custom allocation schemes, without modifying the code to the actual class. Apparently, calling f._ctor(args) doesn't work anymore. Please start allowing this again, as I really need it to create a method of allocating class instances w/ the new precise heap scanning stuff I'm working on. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 31 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3460 David Simcha <dsimcha yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID Never mind, I just realized it's __ctor and it only works if the class has a constructor. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 31 2009