Hi, a C++ class can be created on the "stack" or on the "heap" class A { int test; } // stack A myA(); // heap A* myA = new A(); Question:it is possible (with gcc) to find out if a instance was created on a "stack" or on a "heap" *
mfg
Hi, a C++ class can be created on the "stack" or on the "heap" class A { int test; } // stack A myA(); // heap A* myA = new A(); Question:it is possible (with gcc) to find out if a instance was created on a "stack" or on a "heap" *
mfg