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

           Summary: Add weak references to Phobos/druntime
           Product: D
           Version: future
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: nfx...@gmail.com


--- Comment #0 from nfx...@gmail.com 2010-05-02 20:55:00 PDT ---
Just that.

The Java API documentation may provide a good starting point as to what weak
references should be able to do:
http://java.sun.com/javase/7/docs/api/java/lang/ref/WeakReference.html

Note that finalizers and the "hidden" rt_attach.../detach... functions are
highly unsafe and hard to get right. As an example what can go wrong if users
try to implement their own weak references, see bug 4150.

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

Reply via email to