G
Guest
In the following example, where is "n" allocated (e.g. managed heap?) ?
public ref class N
{
....
....
}
main()
{
N^ n_handle; // allocated on managed heap
N n; // Where is this allocated? Not on native stack, right?
}
public ref class N
{
....
....
}
main()
{
N^ n_handle; // allocated on managed heap
N n; // Where is this allocated? Not on native stack, right?
}