C
chris
i was wonder when a __nogc varable array is created in the
a managed class is stored in the traditional c++ heap or
in the clr heap still. The reason i ask is because i read
in a book that when you create a array variable in a
managed class it's not garbage collected. so does that
mean it's but on regular heap or is it on clr but the
garbage collector don't mess with it.
Example;
__gc Myclass {
int date __gc[23];
};
Myclass test = __gc new Myclass;
a managed class is stored in the traditional c++ heap or
in the clr heap still. The reason i ask is because i read
in a book that when you create a array variable in a
managed class it's not garbage collected. so does that
mean it's but on regular heap or is it on clr but the
garbage collector don't mess with it.
Example;
__gc Myclass {
int date __gc[23];
};
Myclass test = __gc new Myclass;