Example of __gc pointer pointing into the stack

E

Edward Diener

In the documentation for a __gc pointer, this explanation occurs:

"A __gc pointer to an object of __value class type can either point into the
stack or into the common language runtime heap. The latter can occur if an
object of a __value class object is embedded in an object of a __gc class."

I do not understand how a __gc pointer to an object of __value class can
point into the stack. Would someone please give me an example of this ?
 
E

Edward Diener

Never mind. I see in topic 7.2 how a __gc pointer to a value type can point
into the stack.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top