On Wednesday, 7 October 2015 at 09:49:27 UTC, Marc Schütz wrote:
RefCounted isn't implemented for classes, but there's no reason
why it shouldn't work.
Really, I don't get why everyone wants to have builtin
refcounting, when all that's required is a working way to make
escape-proof references.
If you make a class that owns a resources that needs
deterministic destruction, there is no guarantee that everyone
will wrap that class in a RefCounted properly. Also, I've already
stated many more problems with struct wrappers.