[Issue 3460] New: Allow calllng of class c'tors through methods other than new

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 31 13:30:18 PDT 2009


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 at puremagic.com
        ReportedBy: dsimcha at yahoo.com


--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2009-10-31 13:30:16 PDT ---
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: -------


More information about the Digitalmars-d-bugs mailing list