What's the go with the GC these days?
Jacob Carlborg
doob at me.com
Tue Jan 8 11:39:25 UTC 2019
On 2019-01-07 20:46, H. S. Teoh wrote:
> I think the idea is probably to use struct wrappers to implement RC,
> i.e., you'd have a struct wrapping a class reference of the object it's
> managing. As long as the struct can have semantics compatible with RC,
> it can be used to implement RC. At least in theory.
That will be quite ugly. Will these struct wrappers be covariant if the
types they wrap are covariant? I mean, is that possible to implement?
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list