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: [email protected]
Reporter: [email protected]
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).
--