www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14168] New: Class support for RefCounted


          Issue ID: 14168
           Summary: Class support for RefCounted
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: jakobovrum gmail.com

Instantiating RefCounted with a class or interface type should reference-count
the actual instance and not just a class reference. To this end, RefCounted
currently rejects instantiating with class types for forward-compatibility
purposes (at least I'm pretty sure that's why it does it).

Feb 10 2015