I have a small snippet of code I am using for a test purpose.
While running some tests I noticed that my class's destructor is being called before the //output some stuff here is even being executed and is NOT being called at the end of the application, is this normal in a try/catch situation?Code:try { CSomeClass Test; // output some stuff here throw "error"; return 1; } catch(char * error) { // explain error } return 0;