On 14/12/2016 11:52 PM, Satoshi wrote:
Hello,
is rtInfo() already used by GC?
I need to store some data for each class so I'm using this template and
m_rtInfo in TypeInfo_Class but now it seems that GC is not working
properly in some cases.
Thanks.
Doesn't look like it.
https://github.com
Hello,
is rtInfo() already used by GC?
I need to store some data for each class so I'm using this
template and m_rtInfo in TypeInfo_Class but now it seems that GC
is not working properly in some cases.
Thanks.
On Thursday, 29 January 2015 at 08:47:18 UTC, Mike wrote:
It just seems to return a void*. But, searching the source
code, it doesn't seem to be set by anything anywhere.
It can actually return anything: RTInfo is a template that is
automatically instantiated for each user-defined struct
On 1/29/15 3:47 AM, Mike wrote:
object.d [1] says it's infomation for the precise GC (which I thought
wasn't implemented yet).
It just seems to return a void*. But, searching the source code, it
doesn't seem to be set by anything anywhere.
So, what is RTInfo and what is its purpose. And how
object.d [1] says it's infomation for the precise GC (which I
thought wasn't implemented yet).
It just seems to return a void*. But, searching the source code,
it doesn't seem to be set by anything anywhere.
So, what is RTInfo and what is its purpose. And how is it
different from TypeInfo