You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
(In reply to Jakob Ovrum from comment #0)
> 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).
I filed a PR to reject interface types as well until class support is properly implemented:
https://github.com/D-Programming-Language/phobos/pull/2977
jakobovrum (@JakobOvrum) reported this on 2015-02-11T03:55:16Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=14168
CC List
Description
The text was updated successfully, but these errors were encountered: