https://issues.dlang.org/show_bug.cgi?id=19119

--- Comment #13 from Manu <turkey...@gmail.com> ---
(In reply to kinke from comment #12)
> Something very similar is apparently already done for GC-allocated structs -
> if they have a destructor, the TypeInfo pointer is stored right after the
> actual instance, and a specially marked GC block is requested; see
> rt.lifetime._d_newitemU().

Right. I think gcnew should implement a trick like that for C++ objects.

I don't have time to look at it now though.
Super-busy, which is why I was rushing to get all my C++ stuff in a month back.

--

Reply via email to