Example of __gc pointer pointing into the stack

  • Thread starter Thread starter Edward Diener
  • Start date Start date
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 ?
 
Never mind. I see in topic 7.2 how a __gc pointer to a value type can point
into the stack.
 
Back
Top