[Issue 14168] New: Class support for RefCounted
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Feb 10 19:55:16 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14168
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 at puremagic.com
Reporter: jakobovrum at 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).
--
More information about the Digitalmars-d-bugs
mailing list